Skip to content
OpenAdvisories
Medium · 6.1 CVE-2026-116803 EUVD-2026-110511GHSA-77h4-4vqj-j7vcGHSA-mrv2-3pqr-j5jr

DOMPurify before 3.4.17 DOM XSS via IN_PLACE Hook-Detached Subtrees

Published Oct 26, 2026 · Updated Oct 31, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
cure53 DOMPurify < 3.4.17 3.4.17

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-dompurify 3.4.17+dfsg-1 —
Debian 13 node-dompurify No fix yet —
Debian 12 node-dompurify No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 node-dompurify No fix yet —
Ubuntu 26.04 LTS node-dompurify No fix yet —
Ubuntu 24.04 LTS node-dompurify No fix yet —
Ubuntu 22.04 LTS node-dompurify No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
npm dompurify < 3.4.17 3.4.17 GHSA-mrv2-3pqr-j5jr

References