CVE-2024-45801: DOMPurify allows tampering by prototype pollution
Affects dompurifySource GCVE Database
Not known to be exploited · CVSS 7.3 High : upgrade to 2.5.4 soon.
Data as of 27 Nov 2026, 17:03 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 7.3 |
|---|
- Patch
- Available – fixed in 2.5.4, 3.1.3
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 26 Nov 2026.
What to do
Upgrade dompurify to 2.5.4; dompurify to 3.1.3.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmdompurify | Affected
| Fixed in
|
| npmdompurify | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Users should upgrade DOMPurify to version 2.5.4 or later if using the 2.x branch, or to version 3.1.3 or later if using the 3.x branch. These versions contain the official fixes for the prototype pollution and depth check bypass vulnerabilities. No other mitigation is required once patched.
Description
DOMPurify versions prior to 2.5.4 and versions 3.0.0 up to but not including 3.1.3 are vulnerable to a prototype pollution issue that allows attackers to bypass depth checking mechanisms. This vulnerability can enable cross-site scripting (XSS) attacks by tampering with the sanitization process. Fixes have been released in versions 2.5.4 and 3.1.3.
References
- github.com/cure53/DOMPurify/security/advisories/GHSA-mmhx-hmjr-r674 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2024-45801 (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)
- github.com/cure53/DOMPurify (opens in a new tab)
- lists.debian.org/debian-lts-announce/2026/11/msg00070.html (opens in a new tab)