CVE-2024-45801: Node dompurify · DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and
Affects node-dompurifySource GCVE Database
Not known to be exploited · CVSS 7.3 High.
Data as of 24 Nov 2026, 21:14 UTC
- EPSS
- 0.8% chance of exploitation in 30 days – higher than 60% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 16 Sep 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10node-dompurifypkg:deb/ubuntu/node-dompurify?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSnode-dompurifypkg:deb/ubuntu/node-dompurify?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10node-dompurifypkg:deb/ubuntu/node-dompurify?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSnode-dompurifypkg:deb/ubuntu/node-dompurify?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSnode-dompurifypkg:deb/ubuntu/node-dompurify?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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.
References
- ubuntu.com/security/CVE-2024-45801 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-45801 (opens in a new tab)
- github.com/cure53/DOMPurify/security/advisories/GHSA-mmhx-hmjr-r674 (opens in a new tab)
- github.com/cure53/DOMPurify/commit/1e520262bf4c66b5efda49e2316d6d1246ca7b21 (opens in a new tab)
- github.com/cure53/DOMPurify/commit/26e1d69ca7f769f5c558619d644d90dd8bf26ebc (opens in a new tab)