Reflected XSS (Simulated)
Unsafe Output Handling • Intermediate
Objective: Inject markup into a server response.
Try: Supply HTML-like input.
1) Demo
Here is the feature “working” as implemented in this mode.
2) How the code works
This section shows the mental model: what the server is “thinking”.
3) The issue
Unescaped output can turn user input into executable HTML/JS.
4) Exploit it
Edit the raw request below. You can change method, path/query, headers, and body. Then send it. The server will parse what you typed and re-run the simulation.
Cookie: session=1; role=Admin
Exploit Editor Hidden (Recruiter Mode)
This mode is designed for sharing your portfolio. It focuses on clear explanation, real-world impact, and fixes—without interactive exploitation.
Want to demo the exploit? Turn Recruiter Mode off and use the Request Editor.
5) Fix
Secure Mode shows the fix behavior. Flip modes and send the same request.
Escape output by default; use safe templating; CSP for defense-in-depth.
Video
Short visual explanation to match what you just did.