100+ Free HTB CWEE Practice Questions
Prepare for the HTB Certified Web Exploitation Expert exam with instant access — no signup required.
Loading practice questions...
Explore More Hack The Box Certifications
Continue into nearby exams from the same family. Each card keeps practice questions, study guides, flashcards, videos, and articles in one place.
Key Facts: HTB CWEE Exam
10 days
Exam Duration
Hack The Box
5 of 6
Flags to Pass
HTB CWEE community reviews
15 modules
Senior Web Pentester Path
HTB Academy
3 apps
Exam Applications (WB/GB/BB)
Hack The Box
1 free
Retake Included
Hack The Box
Expert
Difficulty Rating
Hack The Box Academy
HTB CWEE is an expert-level, fully hands-on web security certification requiring exploitation of 3 real-world applications (white-box, gray-box, black-box) over 10 days. Candidates must capture 5 of 6 flags and submit a professional penetration test report. Prerequisites include completing the 15-module Senior Web Penetration Tester path on HTB Academy. The exam targets advanced techniques: SSTI, prototype pollution, JWT/OAuth exploitation, request smuggling, deserialization chains, web cache poisoning, and white-box source code review with custom exploit development.
Sample HTB CWEE Practice Questions
Try these sample questions to test your HTB CWEE exam readiness. Each question includes a detailed explanation. Start the interactive quiz above for the full 100+ question experience with AI tutoring.
1In a Server-Side Template Injection (SSTI) attack against a Jinja2 application, which payload is used to enumerate the MRO (Method Resolution Order) and reach the 'os' module for Remote Code Execution?
2Which Jinja2 SSTI sandbox-escape technique uses the '__globals__' attribute to access the 'os' module without relying on '__subclasses__()'?
3When testing for SSTI, an application returns '49' for {{7*7}} but '7*7' for ${7*7}. Which template engine is most likely in use?
4In a JavaScript prototype pollution attack, which property path is most commonly targeted to pollute the base Object prototype?
5A web application merges user-supplied JSON into a configuration object using a recursive deep-merge function. An attacker sends {"__proto__":{"isAdmin":true}}. What is the primary risk?
6Which HTTP request smuggling variant exploits a discrepancy where the front-end proxy uses Content-Length and the back-end uses Transfer-Encoding?
7To confirm CL.TE HTTP Request Smuggling using Burp Suite, which timing-based technique distinguishes a smuggled request from normal network latency?
8Which JWT attack involves forging a token by changing the algorithm from RS256 to HS256 and signing it with the server's public key as the HMAC secret?
9A JWT contains the header parameter "jku": "https://attacker.com/jwks.json". What attack does this enable?
10In an OAuth 2.0 authorization code flow, which attack exploits a missing or predictable 'state' parameter to perform CSRF on the authorization endpoint?
About the HTB CWEE Exam
HTB Certified Web Exploitation Expert (CWEE) is one of the most advanced web security certifications available. Unlike MCQ-based certs, CWEE requires candidates to exploit real-world web applications over a 10-day period using both black-box and white-box techniques including source code review. This practice test covers the theoretical body of knowledge: SSTI, prototype pollution, JWT/OAuth attacks, HTTP request smuggling, insecure deserialization, web cache poisoning, and advanced source code review methodology.
Assessment
Performance-based assessment
Time Limit
10 days (non-proctored)
Passing Score
5 of 6 flags minimum
Exam Fee
Included with HTB Academy plan + exam voucher (Hack The Box)
HTB CWEE Exam Content Outline
Advanced Injection Attacks
SSTI (Jinja2/Twig/SpEL), NoSQL injection, LDAP/XPath injection, second-order SQL injection, and JPQL injection via white-box review
Authentication & Authorization Attacks
JWT algorithm confusion, kid path traversal, jku injection, HS256 brute-force, OAuth 2.0/OIDC/PKCE attacks, SAML XSW, session puzzling
HTTP-Level & Cache Attacks
CL.TE/TE.CL/H2.CL request smuggling, CRLF injection, web cache poisoning via unkeyed headers, host header injection, web cache deception
Client-Side & Advanced XSS
Prototype pollution source-to-sink chains, DOM clobbering, postMessage XSS, CSP bypass via AngularJS, mutation XSS, CSWSH
Deserialization & SSRF
PHP/Python/Java/.NET deserialization gadget chains, DNS rebinding SSRF, gopher:// SSRF-to-Redis RCE, blind SSRF timing sidechannel
White-Box Source Code Review
Taint analysis methodology, unsafe reflection, parameter logic bugs, type juggling, race conditions (TOCTOU), file upload bypass, custom exploit development
How to Pass the HTB CWEE Exam
What You Need to Know
- Passing score: 5 of 6 flags minimum
- Assessment: Performance-based assessment
- Time limit: 10 days (non-proctored)
- Exam fee: Included with HTB Academy plan + exam voucher
Keys to Passing
- Work through all 100 available questions
- Review every answer and explanation
- Track weak areas and revisit them
- Use our AI tutor for tough concepts
HTB CWEE Study Tips from Top Performers
Frequently Asked Questions
What is the HTB CWEE exam format?
CWEE is a 10-day non-proctored practical exam. Candidates receive access to 3 web applications: one white-box (with full source code), one gray-box (with partial source), and one black-box (no source). Each application has 2 flags. Candidates must capture at least 5 of 6 flags and submit a professional penetration test report demonstrating their methodology, findings, and remediation recommendations.
What are the CWEE prerequisites?
Candidates must complete the Senior Web Penetration Tester job role path on HTB Academy, which comprises 15 advanced modules. The path assumes mastery of foundational web exploitation (equivalent to CWES/Bug Bounty Hunter path). Strong Python scripting skills are essential for custom exploit development during the exam.
What topics are covered in the CWEE exam?
CWEE tests advanced and niche web vulnerabilities: SSTI across multiple template engines, prototype pollution (client and server-side), JWT/OAuth/OIDC attacks, HTTP request smuggling (CL.TE, TE.CL, H2.CL), web cache poisoning, insecure deserialization (PHP/Python/Java/.NET), advanced SQL injection (blind, second-order, PostgreSQL-specific), LDAP/XPath/NoSQL injection, SSRF with DNS rebinding, and white-box source code review with custom exploit development.
How hard is the CWEE exam?
CWEE is rated at expert difficulty — significantly harder than the CWES exam and comparable to OffSec's OSED in difficulty (though with more time available). Community reviews describe it as a 'nightmare' level exam with intentional rabbit holes and requiring complete exploitation chains. Exam takers consistently recommend thorough note-taking during training and 4+ hours of daily study. Python scripting is essential for custom exploits.
How is CWEE different from HTB CWES?
CWES (formerly CBBH) covers foundational-to-intermediate web attacks including SQLi, XSS, SSRF, file inclusion, and business logic. CWEE extends this into expert territory: niche vulnerabilities (LDAP injection, XPath injection), white-box source code review, custom exploit development, advanced authentication attacks (JWT, OAuth, SAML), HTTP-level attacks (request smuggling, cache poisoning), and prototype pollution RCE chains. CWEE requires full exploit chains, not just identification.
Is this practice test like the real CWEE exam?
No — this is a theoretical MCQ practice test. The real CWEE is a hands-on practical exam where you must exploit real web applications and capture flags. This practice test helps you learn and verify the concepts, techniques, and methodologies covered in the Senior Web Penetration Tester path. To pass CWEE, you must practice hands-on exploitation extensively in HTB Academy labs and HTB machines.