CVE-2026-116803 DOMPurify before 3.4.17 DOM XSS via IN_PLACE Hook-Detached Subtrees
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2026-116803?
CVE-2026-116803 is a medium-severity vulnerability in cure53 DOMPurify, published on 26 Oct 2026.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2026-116803?
2 open source packages ship an affected version, including dompurify.
| Package | Affected | Fixed in |
|---|---|---|
dompurify npm | All versions | 3.4.17 |
dompurify npm | All versions | 3.4.17 |
How do I fix CVE-2026-116803?
Upgrade dompurify to 3.4.17 or later.
Is CVE-2026-116803 being exploited?
There is no known exploitation of CVE-2026-116803 in the wild and no public exploit code.
Sources
Also known as CLSA-2026-1793097032, CLSA-2026-1793097070, CLSA-2026-1793097137, CLSA-2026-1793097251, CLSA-2026-1793097362, CLSA-2026-1793097542 and 28 more.