CVE-2026-116803Published Oct 26, 2026 · Oct 26Updated Nov 1
DOMPurify XSS in IN_PLACE sanitization hooks
cure53 DOMPurify
Medium5.1Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| dompurify npm |
|
|
Original description
DOMPurify before 3.4.17 contains a cross-site scripting vulnerability that allows attackers to keep event handlers armed when an IN_PLACE hook removes a parent or sibling node. Attacker markup in detached subtrees is never walked or neutralized, so handlers like img onerror fire after sanitize() returns, causing DOM XSS.
From the CVE record · VulnCheck