CVE-2026-109345Published Oct 12, 2026 · Oct 12Updated Oct 28
DOMPurify before 3.4.16 XSS via IN_PLACE Returned Rawtext Root
cure53 DOMPurify
Medium5.1Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| dompurify npm |
|
|
Original 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.
From the CVE record · VulnCheck