Skip to main content

DOM XSS using web messages and a JavaScript URL

$ tldr PortSwigger · DOM-based Vulnerabilities

Solve the lab

Resources by skill

Cross-Site Scripting (XSS)

Comments & tips

Solved this lab a different way? Share it here — comments live in GitHub Discussions.
Last updated: 2026-05-08