XSS in Cure53 Dompurify
CVE-2025-15599
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.002 (14.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 14th percentile — 14.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: 0.000
Affected products
- Cure53 Dompurify — versions 3.1.3, 3.2.7, 2.5.3
Weakness classification (CWE)
References
- github.com/cure53/DOMPurify (Product, product)
- github.com/cure53/DOMPurify/commit/c861f5a83fb8d90800f1680f855fee551161ac2b (Patch, patch)
- www.vulncheck.com/advisories/dompurify-xss-via-textarea-rawtext-bypass-in-safe-… (Third Party Advisory, third-party-advisory)
Frequently asked questions
- What is CVE-2025-15599?
- CVE-2025-15599 is a medium-severity vulnerability in Cure53 Dompurify, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2026-03-03.
- How severe is CVE-2025-15599?
- Medium severity. CVSS v3 base score is 6.1 out of 10.