1. Web Security Academy
  2. DOM-based
  3. Controlling the web-message source
  4. Lab

Lab: DOM XSS using web messages

PRACTITIONER

This lab demonstrates a simple web-message vulnerability. To solve this lab, use the exploit server to post a message to the website that exploits an XSS vulnerability and alerts document.cookie.

Find DOM-based vulnerabilities using Burp Suite

The benefits of working through PortSwigger's Web Security Academy

Get started with the Web Security Academy where you can practise exploiting vulnerabilities on realistic targets .. and its free!

Already got an account? Login here