DOMPurify allows Cross-site Scripting (XSS)
DOMPurify before 3.2.4 has an incorrect template literal regular expression when SAFE_FOR_TEMPLATES is set to true, sometimes leading to mutation cross-site scripting (mXSS).
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2025-26791US | medium6.1 | — | ||
DOMPurify before 3.2.4 has an incorrect template literal regular expression, sometimes leading to mutation cross-site scripting (mXSS). | ||||
02
references
External citations — patches, advisories, analysis.
- https://ensy.zip/posts/dompurify-323-bypassWEB
- https://github.com/cure53/DOMPurifyPACKAGE
- https://github.com/cure53/DOMPurify/commit/d18ffcb554e0001748865da03ac75dd7829f0f02WEB
- https://github.com/cure53/DOMPurify/releases/tag/3.2.4WEB
- https://nsysean.github.io/posts/dompurify-323-bypassWEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-26791ADVISORY
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan