Skip to content
Payload Playground

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.

XLinkedInReddit
Progress: 0/5 labs solved

Reflected XSS

Easy

A 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.

Send feedback

Report an issue or suggest an improvement.

0/2000

Your report includes this page (/labs) and your browser. If you’re signed in, we include your account ID and plan so support can prioritize Pro requests. Please leave out secrets and client data.