DOM XSS

For this lab we have to modify the payload we just learn in order to display the cookie:

<img src="" onerror=alert(document.cookie)>

And we successfully grab the flag!

Last updated