Vulnerable by Design — Practice Labs
Explore how web applications handle input in five browser-based exercises. Use sample data and keep credentials and customer information out of the previews.
Reflected XSS
EasyA search form reflects user input into the page without sanitization. Inject a payload that executes JavaScript.
Objective: Make an alert(), prompt(), or confirm() dialog appear in the sandbox.
Use sample data for these exercises. A result describes this example only. For a real assessment, use a system you own or have permission to test.
Where do the exercises run?
The two XSS exercises render their previews in sandboxed browser frames. The SQL, shell and template exercises use JavaScript simulations. You can use all five in your browser without installing software.
What does a completed exercise establish?
Completion means the example met the conditions defined by this exercise. Verifying a finding or a fix in your own application requires separate evidence from that application.