Description (CNA)
DOMPurify from 3.4.13 before 3.4.16 contains a cross-site scripting vulnerability because IN_PLACE mode fails to neutralize subtrees detached by afterSanitizeElements or afterSanitizeAttributes hooks. Attackers can supply markup with on* handlers inside a wrapper removed by such hooks, leaving handlers armed on the live DOM to execute script in the victim origin.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| cure53 / DOMPurify | affected 3.4.13 before 3.4.16; unaffected 3.4.16 |
CWE
CWE-79
References
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-p98j-92pf-mc4p
- https://www.vulncheck.com/advisories/dompurify-from-3.4.13-before-3.4.16-dom-xss-via-in-place-aftersanitize-hooks
ADP enrichment
No English description supplied.
No references supplied.