
CVE catalog
CVE-2024-45801
node-dompurify: CVE-2024-45801
- Severity
- High · CVSS 7
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.89% · Oct 25, 2026
DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. It has been discovered that malicious HTML using special nesting techniques can bypass the depth checking added to DOMPurify in recent releases. It was also possible to use Prototype Pollution to weaken the depth check. This renders dompurify unable to avoid cross site scripting (XSS) attacks. This issue has been addressed in versions 2.5.4 and 3.1.3 of DOMPurify. All users are advised to upgrade. There are no known workarounds for this vulnerability.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | node-dompurify | sid | 3.4.17+dfsg-1 | not affected |
| Debian | node-dompurify | forky | 3.4.16+dfsg-1 | not affected |
| Debian | node-dompurify | trixie | 3.1.7+dfsg+~3.0.5-2 | not affected |
| Debian | node-dompurify | bookworm | 2.4.1+dfsg+~2.4.0-2+deb12u1 | fixed |
| Debian | node-dompurify | bookworm-security | 2.4.1+dfsg+~2.4.0-2 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | node-dompurify | source | sid | Not affected | unimportant | Not reported | Not reported |
| Debian | node-dompurify | source | forky | Not affected | unimportant | Not reported | Not reported |
| Debian | node-dompurify | source | trixie | Not affected | unimportant | Not reported | Not reported |
| Debian | node-dompurify | source | bookworm | 2.4.1+dfsg+~2.4.0-2+deb12u1 | not yet assigned | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [node-dompurify]Affected
Details (4)
2.4.1+dfsg+~2.4.0-2+deb12u1· all · bookwormFixed · Fixed:
2.4.1+dfsg+~2.4.0-2+deb12u1dsa · node-dompurify · debian · bookworm; dsa · node-dompurify · debian · 12
2.4.1+dfsg+~2.4.0-2+deb12u1· all · bookwormFixed · Fixed:
2.4.1+dfsg+~2.4.0-2+deb12u1dsa · node-dompurify · debian · bookworm; dsa · node-dompurify · debian · 12
2.4.1+dfsg+~2.4.0-2· all · bookworm-securityAffected · Fixed:
2.4.1+dfsg+~2.4.0-2+deb12u1dsa · node-dompurify · debian · bookworm; dsa · node-dompurify · debian · 12
2.4.1+dfsg+~2.4.0-2· all · bookworm-securityAffected · Fixed:
2.4.1+dfsg+~2.4.0-2+deb12u1dsa · node-dompurify · debian · bookworm; dsa · node-dompurify · debian · 12
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-45801]
- [https://security-tracker.debian.org/tracker/CVE-2024-45801]
- [https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-45801.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-3089.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]