What’s Vulnerable › Vulnerabilities
CVE-2026-109345: DOMPurify before 3.4.16 XSS via IN_PLACE Returned Rawtext Root
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-12 · updated 2026-10-16
- Weakness: CWE-79
Description
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 products
- Npm Dompurify: before 3.4.16 — fixed in 3.4.16
- cure53 DOMPurify: before 3.4.16 — fixed in 3.4.16
How to fix
Upgrade to a fixed version: Npm Dompurify 3.4.16; cure53 DOMPurify 3.4.16. Check the vendor advisory for mitigations.
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
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-6688-9rhm-gjv2
Get alerted when CVE-2026-109345 or the next vulnerability affects your stack