Vulnerability · Published Mar 3, 2026 · Assigned by VulnCheck

CVE-2025-15599DOMPurify XSS via Textarea Rawtext Bypass in SAFE_FOR_XML

Medium 6.1

In plain English

A medium-severity cross-site scripting in DOMPurify from cure53. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)0.3%top 78.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12node-dompurifyno fix listedDEBIAN-CVE-2025-15599
Debian:13node-dompurifyno fix listedDEBIAN-CVE-2025-15599
Debian:14node-dompurify3.3.2+dfsg-1DEBIAN-CVE-2025-15599
Ubuntu:22.04:LTSnode-dompurifyno fix listedUBUNTU-CVE-2025-15599
Ubuntu:24.04:LTSnode-dompurifyno fix listedUBUNTU-CVE-2025-15599
Ubuntu:25.10node-dompurifyno fix listedUBUNTU-CVE-2025-15599
Ubuntu:26.04:LTSnode-dompurifyno fix listedUBUNTU-CVE-2025-15599
Ubuntu:26.10node-dompurifyno fix listedUBUNTU-CVE-2025-15599
npmdompurifyno fix listedGHSA-v8jm-5vwx-cfxm
npmdompurify3.2.7GHSA-v8jm-5vwx-cfxm

Affected products (as reported)

VendorProductVersions
cure53 DOMPurify 3.1.3 – through 3.2.62.5.3 – through 2.5.8

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

References