Description (CNA)
DOMPurify before 3.4.13 contains a cross-site scripting vulnerability in IN_PLACE sanitization where element-removal hooks fail to neutralize detached subtrees. Attackers can supply HTML with event handlers on descendant elements that execute after sanitization completes, even though the returned root appears clean.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| cure53 / DOMPurify | affected 0 before 3.4.13; unaffected 3.4.13 |
CWE
CWE-79
References
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-55q2-fjhq-7xh7
- https://www.vulncheck.com/advisories/dompurify-before-cross-site-scripting-via-in-place-hook
ADP enrichment
No English description supplied.