CVE-2025-15599CWE-79cross-site-scripting

CVE-2025-15599

Medium · published March 3, 2026

CVSS v3.1
6.1
EPSS
0%
Percentile
16.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.1 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00255 · 16.1th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2026-03-03T23:16Z
Affected products (2)
ProductVersionsFixed in
cure53/dompurify≥ 2.5.3, ≤ 2.5.8—
cure53/dompurify≥ 3.1.3, < 3.2.73.2.7
References (3)
EPSS history
Timeline
  • 03 MAR 17:26Z
    DOMPurify XSS via Textarea Rawtext Bypass in SAFE_FOR_XML
    cvelistv5