CVE-2025-26791 DOMPurify allows Cross-site Scripting (XSS)
MediumCVSS 6.1
EPSS 0.61%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
DOMPurify before 3.2.4 has an incorrect template literal regular expression, sometimes leading to mutation cross-site scripting (mXSS).
Upgrade path
9 packages: 4 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/node-dompurify(Debian 12) | = 2.4.1+dfsg+~2.4.0-1; = 2.4.1+dfsg+~2.4.0-2; = 2.4.1+dfsg+~2.4.0-2+deb12u1; = 3.0.9+dfsg+~3.0.5-1 +14 more | No fix listed | No fix yet |
| ubuntu/node-dompurify(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/node-dompurify(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/node-dompurify(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/node-dompurify(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| cure53 DOMPurify | < 3.2.4 | 3.2.4 | Fixed |
| debian/node-dompurify(Debian 13) | < 3.1.7+dfsg+~3.0.5-2 | 3.1.7+dfsg+~3.0.5-2 | Fixed |
| debian/node-dompurify(Debian 14) | < 3.1.7+dfsg+~3.0.5-2 | 3.1.7+dfsg+~3.0.5-2 | Fixed |
| npm dompurify(npm) | < 3.2.4 | 3.2.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/node-dompurify(Debian:12) | All versions | No fix listed |
| debian/node-dompurify(Debian:12) | = 2.4.1+dfsg+~2.4.0-1 | No fix listed |
| debian/node-dompurify(Debian:12) | = 2.4.1+dfsg+~2.4.0-2 | No fix listed |
| debian/node-dompurify(Debian:12) | = 2.4.1+dfsg+~2.4.0-2+deb12u1 | No fix listed |
| debian/node-dompurify(Debian:12) | = 3.0.9+dfsg+~3.0.5-1 | No fix listed |
| debian/node-dompurify(Debian:12) | = 3.1.6+dfsg+~3.0.5-1 | No fix listed |
| debian/node-dompurify(Debian:12) | = 3.1.7+dfsg+~3.0.5-1 | No fix listed |
| debian/node-dompurify(Debian:12) | = 3.1.7+dfsg+~3.0.5-2 | No fix listed |
| debian/node-dompurify(Debian:12) | = 3.2.5+dfsg-1 | No fix listed |
| debian/node-dompurify(Debian:12) | = 3.3.2+dfsg-1 | No fix listed |
| debian/node-dompurify(Debian:12) | = 3.3.3+dfsg-1 | No fix listed |
| debian/node-dompurify(Debian:12) | = 3.3.3+dfsg-2 | No fix listed |
| debian/node-dompurify(Debian:12) | = 3.4.1+dfsg-1 | No fix listed |
| debian/node-dompurify(Debian:12) | = 3.4.12+dfsg-1 | No fix listed |
| debian/node-dompurify(Debian:12) | = 3.4.13+dfsg-1 | No fix listed |
| debian/node-dompurify(Debian:12) | = 3.4.13+dfsg-2 | No fix listed |
| debian/node-dompurify(Debian:12) | = 3.4.2+dfsg-1 | No fix listed |
| debian/node-dompurify(Debian:12) | = 3.4.5+dfsg-1 | No fix listed |
| debian/node-dompurify(Debian:13) | < 3.1.7+dfsg+~3.0.5-2 | 3.1.7+dfsg+~3.0.5-2 |
| debian/node-dompurify(Debian:14) | < 3.1.7+dfsg+~3.0.5-2 | 3.1.7+dfsg+~3.0.5-2 |
| npm dompurify(npm) | < 3.2.4 | 3.2.4 |
| cure53 DOMPurify | < 3.2.4 | 3.2.4 |
| ubuntu/node-dompurify(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/node-dompurify(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/node-dompurify(Ubuntu:26.04) | All versions | No fix listed |
Show 1 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/node-dompurify(Ubuntu:26.10) | All versions | No fix listed |
References
- Debian Security Tracker CVE-2025-26791 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- ensy.zip exploit third-party-advisory
- github.com release-notes
- nsysean.github.io exploit third-party-advisory
- github.com
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking
- github.com product