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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:cure53:dompurify:*:*:*:*:*:*:*:*
cpe:2.3:a:cure53:dompurify:*:*:*:*:*:*:*:*

History

17 Jun 2026, 08:38

Type Values Removed Values Added
Summary
  • (es) DOMPurify 3.1.3 hasta 3.2.6 y 2.5.3 hasta 2.5.8 contienen una vulnerabilidad de cross-site scripting que permite a los atacantes eludir la sanitización de atributos al explotar la falta de validación del elemento rawtext de textarea en la expresión regular SAFE_FOR_XML. Los atacantes pueden incluir etiquetas de cierre de rawtext como en los valores de los atributos para salir de los contextos de rawtext y ejecutar JavaScript cuando la salida sanitizada se coloca dentro de elementos rawtext. La rama 3.x se corrigió en 3.2.7; la rama 2.x nunca fue parcheada.

05 Mar 2026, 00:36

Type Values Removed Values Added
CPE cpe:2.3:a:cure53:dompurify:*:*:*:*:*:*:*:*
First Time Cure53
Cure53 dompurify
References () https://github.com/cure53/DOMPurify - () https://github.com/cure53/DOMPurify - Product
References () https://github.com/cure53/DOMPurify/commit/c861f5a83fb8d90800f1680f855fee551161ac2b - () https://github.com/cure53/DOMPurify/commit/c861f5a83fb8d90800f1680f855fee551161ac2b - Patch
References () https://www.vulncheck.com/advisories/dompurify-xss-via-textarea-rawtext-bypass-in-safe-for-xml - () https://www.vulncheck.com/advisories/dompurify-xss-via-textarea-rawtext-bypass-in-safe-for-xml - Third Party Advisory

03 Mar 2026, 20:16

Type Values Removed Values Added
References
  • {'url': 'https://www.vulncheck.com/advisories/dompurify-xss-via-textarea-rawtext-bypass-in-safeforxml', 'source': 'disclosure@vulncheck.com'}
  • () https://www.vulncheck.com/advisories/dompurify-xss-via-textarea-rawtext-bypass-in-safe-for-xml -

03 Mar 2026, 18:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-03 18:16

Updated : 2026-06-17 08:38


NVD link : CVE-2025-15599

Mitre link : CVE-2025-15599

CVE.ORG link : CVE-2025-15599


JSON object : View

Products Affected

cure53

  • dompurify
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')