CWES Exam Guide

Yes, another CWES prep post. I know. But I'm two weeks out from booking and I have a very specific thing to say about where the HTB Academy web path drops you and where it doesn't, and nobody I've seen online has written this part down honestly.

I passed the CPTS in November and immediately rolled onto the web path because my current engagement at work is going to be entirely application-layer for Q1 and I wanted a cert that proved I'd done the reps. This is what prepping for CWES has actually looked like for someone who came into web from a pentest background rather than from pure appsec.

Why I'm doing CWES and not just OSWA

I looked at OSWA first, because OffSec branding still carries weight in the EU consulting market I bump into. Two things pushed me to CWES instead. The $490 price difference against a $1,749 OffSec voucher. And the format — seven days of hands-on against OSWA's 23h 45m. The longer window suits the way I actually work. I'm a software engineer by background, I like to live with a problem for a day, go to bed, come back to it in the morning with a different angle. The OSCP-style compressed window stresses me out in a way that doesn't make me better at anything.

The other honest reason: I already have the Silver subscription for HTB Academy from CPTS, so CWES is effectively $490 flat. OSWA would've cost me a fresh voucher plus the WEB-200 bundle.

Where the Web Pentester path leaves gaps

The HTB Academy path for CWES covers a lot. Login attacks, session attacks, SSRF, SQLi (blind and timing), XSS to account takeover, template injection, deserialization, authentication flaws, access control. If you finish it, you know the categories. What it does not do particularly well, in my opinion so far:

It doesn't teach you how to chain three vulnerabilities into a single exploit. The modules show you each bug in isolation on a target built to teach that bug. The CWES exam — from everything I've read from passers on the HTB forum — is built around chains. Low-severity bug plus auth bypass plus SSRF to hit an internal API and pull a token. Nobody passes CWES by finding one XSS. You pass it by finding four things and connecting them.

Where I filled the gap: PortSwigger Web Security Academy. All of it. I'd done maybe 40% of it a year ago; I'm now at 85% and the labs flagged as "Expert" are where the chaining thinking lives. Tib3rius's YouTube content on DOM-based XSS and prototype pollution helped me understand the pollution-to-gadget pattern that shows up in CWES-style modern framework exploitation. HackingArticles has an uneven blog but their SSRF and deserialization write-ups are solid reference material.

The actual hours I'm putting in

I started focused prep on November 24th, two days after my CPTS report came back. Plan is to sit the exam around December 20th, which gives me four weeks. Roughly:

  • Week 1 (done): finish any HTB Academy web modules I'd skipped. I had three left on access control attacks and advanced SSRF. Also set up my burp with the extensions I'll actually use (Autorize, JWT Editor, Param Miner, Hackvertor).
  • Week 2 (in progress right now as I write this): PortSwigger Academy Expert labs. Grinding. I do three a night during the week and five on Saturday mornings before my partner's awake. It's the single best preparation for CWES I've found.
  • Week 3: HTB web boxes from the retired list, filtered to Medium-Hard web tagged. I made a list of eleven I want to do. Pair each with a 0xdf write-up read after I've finished, to see what I missed.
  • Week 4: nothing new. Review notes. Build a clean burp project file for the exam. Sleep.

Call it 70 hours of dedicated study across the four weeks, not counting the 300ish hours of prior web experience from CPTS and day job work.

The tools I've got on my CWES shortlist

  • burp pro — I have a license through work. Community is viable for CWES but if you have any way to get Pro, the Intruder speed difference alone is worth it on a seven-day exam.
  • ffuf and feroxbuster — content and parameter discovery. I use both because they handle recursion and wordlist feeding differently and sometimes one picks up what the other misses.
  • sqlmap — for the blind and timing cases where I don't want to hand-roll the payload. Don't fire it at everything. Know your injection point first, then feed it.
  • jwt-cli and jwt_tool — JWT manipulation, alg:none tricks, kid injection. Both have their place.
  • ysoserial and ysoserial.net — deserialization gadget generation. The Java version for everything JVM, the .NET version for anything that touches a Microsoft stack.
  • phpggc — the PHP equivalent. If the target is WordPress or any symfony-based thing, this is your friend.
  • nuclei — for the initial sweep across subdomains and known CVE patterns. Not a replacement for manual testing but a nice first pass.
  • subfinder, httpx, and dnsx from the projectdiscovery suite — for recon chaining. If CWES scope includes subdomain enum, these are my default pipeline.
  • mitmproxy — for anything that burp handles badly, usually gRPC or weird WebSocket flows.

The one thing I'm worried about

Modern framework exploitation. The HTB syllabus calls it out as a hot topic and I don't have strong Node/Express or Spring reflex. My old backend was Node but I never spent much time thinking about prototype pollution gadgets or SSRF-to-RCE through Spring Expression Language. The fix I'm using: I grabbed a list of real CVEs in Spring, Flask, Express and Django from the last three years, and I'm reading the actual advisory + the proof-of-concept exploit for each one. Not memorising, just getting the shape of how a framework bug becomes a pop.

The other worry is reporting. I know, I know, I just wrote a whole section about reporting in my CPTS post, but CWES reporting has its own flavour — web findings need request/response pairs as evidence, you need to document the full chain if that's what gave you the flag, and the remediation sections need to be framework-aware (not just "sanitise input"). I'm pre-building a web-specific template with placeholder blocks for request, response, impact, affected parameter, remediation guidance.

The questions I keep seeing in the HTB forum

People always ask whether CWES is easier than CWEE. It is, significantly. CWES is designed as an intermediate cert — same pass mark of 85% and same seven-day format, but the chains are shorter and the source-code review component is minimal. CWEE is where you need to actually read Java and PHP source. CWES, you can mostly black-box your way through if you're methodical.

The other repeated question is whether you need the PortSwigger Burp cert (BSCP) first. You don't. CWES and BSCP overlap in content but BSCP is a four-hour sprint and CWES is a seven-day marathon. Different tempo. If you're coming from BSCP into CWES, the transition is easy. The other way round, you're fine too, but BSCP's time pressure is a different stress.

What I'll report back on

I'll post a follow-up after the exam. If I fail I'll say so and write about what tripped me. The point of these write-ups, for me, is to not pretend the path was clean when it wasn't. I've been reading mr_h0tel's write-ups for pentest content and his willingness to say "I tried the wrong thing for five hours" is the gold standard. More of that in cybersecurity, please.

Non-cert note: I did half of this week's PortSwigger labs on a train to my brother's place for Thanksgiving, which was a terrible idea because the wifi kept dropping mid-payload. If you're prepping, book a stretch at home. Trains are not it.

If you're also in CWES prep and want someone to swap burp project files with or run the exam alongside you on the day, that's what we do at FsKnockouT — DM or drop a note, no upfront fees, we don't charge until you pass. Good luck either way.

Back to blog