CVE-2026-49978

EUVD-2026-44452
DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. Prior to 3.4.7, DOMPurify IN_PLACE sanitization could skip shadow contents attached to an element inside <template>.content, allowing attacker-controlled markup such as event handlers, JavaScript URLs, or scripts to survive and execute when an application cloned and inserted the sanitized template. This issue is fixed in version 3.4.7.
Cross-site Scripting
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
6.1 MEDIUM
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Base Score
CVSS 3.x
EPSS Score
Percentile: 25.78%
Affected Products (NVD)
VendorProductVersion
cure53dompurify
𝑥
< 3.4.7
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
node-dompurify
bookworm
vulnerable
bookworm (security)
vulnerable
forky
3.4.13+dfsg-2
fixed
sid
3.4.13+dfsg-2
fixed
trixie
vulnerable
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
dompurify.js
bionic
needs-triage
jammy
dne
noble
dne
resolute
dne
xenial
needs-triage
node-dompurify
jammy
needs-triage
noble
needs-triage
resolute
needs-triage