CVE-2025-26791 Details
Description
DOMPurify before 3.2.4 has an incorrect template literal regular expression, sometimes leading to mutation cross-site scripting (mXSS).
A vulnerability in DOMPurify versions prior to 3.2.4 allows for mutation cross-site scripting (mXSS) due to an incorrect regular expression handling template literals. This flaw can be exploited by injecting comments into attribute values, bypassing DOMPurify's sanitization and leading to XSS vulnerabilities.
Users can upgrade to DOMPurify version 3.2.4, which addresses this vulnerability by correcting the template literal regular expression to prevent the config-dependent bypass.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 14, 2025References 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.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://ensy.zip/posts/dompurify-323-bypass/ | CISA-ADP | ExploitThird Party Advisory |
| https://ensy.zip/posts/dompurify-323-bypass/ | [email protected] | ExploitThird Party Advisory |
| https://github.com/cure53/DOMPurify/commit/d18ffcb554e0001748865da03ac75dd7829f0f02 | [email protected] | Patch |
| https://github.com/cure53/DOMPurify/releases/tag/3.2.4 | [email protected] | Release Notes |
| https://nsysean.github.io/posts/dompurify-323-bypass/ | [email protected] | ExploitThird Party Advisory |
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 | < 3.2.4 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 7, 2025 | Initial Analysis | [email protected] |
| Feb 14, 2025 | CVE Modified | CISA-ADP |
| Feb 14, 2025 | New CVE Received | [email protected] |