Skip to content
OpenAdvisories
Medium · 6.1 CVE-2026-109344 EUVD-2026-97646GHSA-59fh-8xxf-p69hGHSA-p98j-92pf-mc4p

DOMPurify from 3.4.13 before 3.4.16 DOM XSS via IN_PLACE afterSanitize Hooks

Published Oct 12, 2026 · Updated Oct 13, 2026 · Assigned by VulnCheck

Description

DOMPurify from 3.4.13 before 3.4.16 contains a cross-site scripting vulnerability because IN_PLACE mode fails to neutralize subtrees detached by afterSanitizeElements or afterSanitizeAttributes hooks. Attackers can supply markup with on* handlers inside a wrapper removed by such hooks, leaving handlers armed on the live DOM to execute script in the victim origin.

Affected products

VendorProductAffectedFixed
cure53 DOMPurify 3.4.13 – < 3.4.16 3.4.16

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.16+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.13, < 3.4.16 3.4.16 GHSA-p98j-92pf-mc4p

References