CVE-2025-15599

EUVD-2025-208240
DOMPurify 3.1.3 through 3.2.6 and 2.5.3 through 2.5.8 contain a cross-site scripting vulnerability that allows attackers to bypass attribute sanitization by exploiting missing textarea rawtext element validation in the SAFE_FOR_XML regex. Attackers can include closing rawtext tags like </textarea> in attribute values to break out of rawtext contexts and execute JavaScript when sanitized output is placed inside rawtext elements. The 3.x branch was fixed in 3.2.7; the 2.x branch was never patched.
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: 15.11%
Affected Products (NVD)
VendorProductVersion
cure53dompurify
2.5.3 ≤
𝑥
≤ 2.5.8
cure53dompurify
3.1.3 ≤
𝑥
< 3.2.7
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
node-dompurify
bookworm
vulnerable
bookworm (security)
vulnerable
forky
3.4.16+dfsg-1
fixed
sid
3.4.16+dfsg-1
fixed
trixie
vulnerable
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
node-dompurify
jammy
needs-triage
noble
needs-triage
questing
ignored
resolute
needs-triage