PT-2026-22763 · Dompurify · Dompurify

Published

2026-03-03

·

Updated

2026-05-18

·

CVE-2025-15599

CVSS v3.1

6.1

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions DOMPurify versions 2.5.3 through 2.5.8 DOMPurify versions 3.1.3 through 3.2.6
Description DOMPurify contains a cross-site scripting issue that allows attackers to bypass attribute sanitization. This is due to missing textarea rawtext element validation in the SAFE FOR XML regex. Attackers can include closing rawtext tags, such as , in attribute values to break out of rawtext contexts and execute JavaScript when sanitized output is placed inside rawtext elements. The textarea element and its rawtext attribute are involved in this bypass.
Recommendations Update to DOMPurify version 3.2.7 or later. For versions 2.5.3 through 2.5.8, there is no available fix; consider alternative sanitization libraries.

Fix

XSS

Weakness Enumeration

Related Identifiers

CLEANSTART-2026-LC05413
CVE-2025-15599
GHSA-V8JM-5VWX-CFXM

Affected Products

Dompurify