CVE-2025-15599 Details
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.
A cross-site scripting vulnerability has been identified in DOMPurify versions 3.1.3 prior to 3.2.7 and 2.5.3 prior to 2.5.8. This vulnerability allows attackers to bypass attribute sanitization by exploiting inadequate validation of textarea rawtext elements in the SAFE_FOR_XML regular expression. Attackers can inject closing rawtext tags, such as </textarea>, into attribute values, disrupting rawtext contexts and executing JavaScript when the sanitized output is placed inside rawtext elements.
Users can upgrade to DOMPurify version 3.2.7 or later to address this vulnerability. For those using the 2.x branch, no patch is available.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 3, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| cure53 dompurify | >= 2.5.3, <= 2.5.8 >= 3.1.3, < 3.2.7 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 8, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 5, 2026 | Initial Analysis | [email protected] |
| Mar 3, 2026 | CVE Modified | [email protected] |
| Mar 3, 2026 | New CVE Received | [email protected] |