CVE-2025-26791Published Feb 14, 2025 · Feb 14Updated Oct 28
DOMPurify allows Cross-site Scripting (XSS)
Cure53 DOMPurify
Medium4.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| dompurify npm |
|
|
Original description
DOMPurify before 3.2.4 has an incorrect template literal regular expression, sometimes leading to mutation cross-site scripting (mXSS).
From the CVE record · mitre
References
- github.com/cure53/DOMPurify/releases/tag/3.2.4Release notes
- github.com/cure53/DOMPurify/commit/d18ffcb554e0001748865da03ac75dd7829f0f02Patch
- nsysean.github.io/posts/dompurify-323-bypassExploit
- ensy.zip/posts/dompurify-323-bypassExploit
- github.com/CVEProject/cvelistV5/tree/main/cves/2025/26xxx/CVE-2025-26791.json
- nvd.nist.gov/vuln/detail/CVE-2025-26791
- ensy.zip/posts/dompurify-323-bypass
- github.com/cure53/DOMPurify
- nsysean.github.io/posts/dompurify-323-bypass