XSS challenge #2
Rules:
- Please enter some HTML. It gets sanitized and inserted to a <div>.
- The task is: execute
alert(1)
.
- The solution must work on current version of at least one major browser (Chrome/Edge, Firefox, Safari).
If you find a solution, please DM me at Twitter: @SecurityMB.
- The challenge is based on code seen in the wild.