cspshivam/playground
XSS Level 5 / 10 Medium
← All labs

DOM — Fragment Sink

Browser-side code copies the URL fragment into the DOM. No server ever sees the payload.

Welcome page

This page greets you using the URL fragment (the part after #). Nothing is sent to the server — everything happens in your browser.

Try appending, e.g. #Ada to the address bar and reloading.

Welcome, guest!

This is an isolated, intentionally-vulnerable sandbox. Data here is fake and scoped to you. The rest of CSPSHIVAM Playground is not part of the target.