MEDIUM · CVSS 4.5 Published: 2025-02-14
CVE-2025-26791 — Technical Security Advisory & CVSS Profile
DOMPurify before 3.2.4 has an incorrect template literal regular expression, sometimes leading to mutation cross-site scripting (mXSS).
Technical Metadata
| Identifier | CVE-2025-26791 |
|---|---|
| Base Severity / Score | MEDIUM (4.5 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N |
| Weakness Classification | CWE-79 |
| Archive Categories | MEDIUM Advisories · 2025 Index |
Operational Mitigation Guidance
Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.
Upstream References
- https://ensy.zip/posts/dompurify-323-bypass/
- https://github.com/cure53/DOMPurify/commit/d18ffcb554e0001748865da03ac75dd7829f0f02
- https://github.com/cure53/DOMPurify/releases/tag/3.2.4
Related Security Advisories
CVE-2025-2679 HIGH 7.3
CVE-2025-26794 HIGH 7.5
CVE-2025-26787 MEDIUM 4.7
CVE-2025-26796 MEDIUM 5.4
CVE-2025-26803 MEDIUM 5.3
CVE-2025-26841 MEDIUM 6.1
CVE-2025-26849 MEDIUM 4.3
CVE-2025-2685 MEDIUM 6.4