Official nomination
DOMPurify 2.0.0 bypass using mutation XSS
Write-up of DOMPurify 2.0.0 bypass using mutation XSS
A Chrome and Safari parsing quirk re-serializes markup so content nested inside an svg element jumps out of it when innerHTML is assigned to itself. Markup that DOMPurify judges harmless on first parse therefore mutates into an img carrying an onerror handler and executes script; math and br variants work the same way.
Preserved copies · securitum · Original publication ↗
Record
- Document
- Write-up of DOMPurify 2.0.0 bypass using mutation XSS
- Researcher
- securitum
- Published by
- research.securitum.com
- Date
- Topic
- XSS
In the archive
- Nominated for the 2019 Top 10 Web Hacking Techniques · Open this archive record
Announcement provenance and preserved copies
PortSwigger Research · Source identity checked 2026-11-18; live availability may change. Historical material does not establish that nominations or voting are open.
Official results · Preserved results (PDF)
Official nomination material
Tags
This page is the archive's own catalogue record. The research is the work of securitum, first published at the original source. Preserved copies are kept so the citation survives its host.