Skip to content
OpenAdvisories
Medium · 6.1 CVE-2026-109345 EUVD-2026-97647GHSA-6688-9rhm-gjv2GHSA-cjhx-p48c-gfm9

DOMPurify before 3.4.16 XSS via IN_PLACE Returned Rawtext Root

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

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.

Affected products

VendorProductAffectedFixed
cure53 DOMPurify < 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.16 3.4.16 GHSA-6688-9rhm-gjv2

References