CVE-2025-26791
DOMPurify allows Cross-site Scripting (XSS)
4.5
MEDIUM
CVSS 3.1
EPSS 0.11%
Description
DOMPurify before 3.2.4 has an incorrect template literal regular expression, sometimes leading to mutation cross-site scripting (mXSS).
How to fix CVE-2025-26791
To remediate CVE-2025-26791, upgrade the affected package to a fixed version below.
- Debian/node-dompurify—no fix listed
- npm/dompurify—upgrade to 3.2.4 or later
Is CVE-2025-26791 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0
- from 0, < 3.2.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.5 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N |