What’s Vulnerable › Vulnerabilities
CVE-2026-75838: DOMPurify before 3.4.13 Cross-Site Scripting via IN_PLACE hook
- Severity: medium (CVSS 5.1 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-18 · updated 2026-10-22
- Weakness: CWE-79
Description
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 products
- cure53 DOMPurify: before 3.4.13 — fixed in 3.4.13
How to fix
Upgrade to a fixed version: cure53 DOMPurify 3.4.13. Check the vendor advisory for mitigations.
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
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-55q2-fjhq-7xh7
Get alerted when CVE-2026-75838 or the next vulnerability affects your stack