Description (CNA)
DOMPurify before 3.4.16 contains a cross-site scripting vulnerability that allows attackers to bypass sanitization because IN_PLACE mode returns a force-removed style element whose text content still carries markup. Attackers can supply a style element containing a closing style tag and an img onerror payload, which executes script when the application serializes and re-parses the returned node.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| cure53 / DOMPurify | affected 0 before 3.4.16; unaffected 3.4.16 |
CWE
CWE-79
References
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-6688-9rhm-gjv2
- https://www.vulncheck.com/advisories/dompurify-before-3.4.16-xss-via-in-place-returned-rawtext-root
ADP enrichment
No English description supplied.