BACK TO LAB INDEX
LAB RECORD / WEB SECURITY

DOM-based XSS labs.

Exploring client-side injection in PortSwigger practice labs.

EVIDENCE DOCUMENTED
01 / OVERVIEW

The objective

Recognize how browser-side code can interpret untrusted input in unsafe ways.

02 / THE PROCESS

Technical explanation

The screenshots show distinct DOM XSS exercises, including a document.write sink and an AngularJS expression.

03 / WHAT THE EVIDENCE SHOWS

Result & learning

The visible lab banners indicate those exercises were solved.

Client-side sources and sinks need to be understood together when evaluating XSS.

04 / VISUAL DOCUMENTATION

Inside the work.

Open an image to inspect the evidence in more detail. Original filenames are retained for reference.

DOM-based XSS labs evidence 1
01 / SCREENSHOTScreenshot_2026-11-17_12_19_59.png
DOM-based XSS labs evidence 2
02 / SCREENSHOTScreenshot_2026-11-17_12_22_15.png
Back to all labs