CVE-2024-45801: Tampering by prototype polution in DOMPurify
Vulnerability summary
CVE-2024-45801 is a high (CVSS 7.3) vulnerability in cure53 dompurify. EPSS estimates a 0.91% chance of exploitation in the next 30 days, higher than 61.3% of scored vulnerabilities.
Severe, CVSS 7.3 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 3Timeline
- 16-09-2024PublishedVulnerability first disclosed.
- 27-11-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
8 scores · 7 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NDiffers
- OSV · DebianEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NDiffers
- OSV · WolfiEcosystem advisory · calculated7.3HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- OSV · NpmEcosystem advisory · calculated7.0HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:LDiffers
- OSV · ChainguardEcosystem advisory · calculated7.3HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- NVDNIST6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NDiffers
EPSS trend
Probability
0.91%
Chance of exploitation in the next 30 days
Percentile
61%
Versus all other CVEs
30-day change
Increase +0.02 pp
From 0.89% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-1333Inefficient Regular Expression ComplexityThe product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.
- CWE-1321Improperly Controlled Modification of Object Prototype AttributesThe product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard31 products
- argo-workflows< 3.6.0-r0
- opensearch-dashboards-2< 2.19.1-r3
- opensearch-dashboards-2-alerting-dashboards-plugin< 2.19.1-r3
- opensearch-dashboards-2-anomaly-detection-dashboards-plugin< 2.19.1-r3
- opensearch-dashboards-2-config< 2.19.1-r3
Cure531 product
- dompurify< 2.5.4 | ≥ 3.0.0, < 3.1.3
Debian1 product
- node-dompurify< 2.4.1+dfsg+~2.4.0-2+deb12u1 | < 2.4.1+dfsg+~2.4.0-2+deb12u2
Npm1 product
- dompurify< 2.5.4 | ≥ 3.0.0, < 3.1.3
Ubuntu1 product
- node-dompurifyAll versions (No fix recorded)
Wolfi1 product
- argo-workflows< 3.6.0-r0
6 vendors · 36 products
References
10 links- github.com/cure53/DOMPurify/security/advisories/GHSA-mmhx-hmjr-r674X Refsource CONFIRMREPORTAdvisoryWEBThird Party Advisory
- github.com/cure53/DOMPurify/commit/1e520262bf4c66b5efda49e2316d6d1246ca7b21X Refsource MISCREPORTFIXWEBPatch
- github.com/cure53/DOMPurify/commit/26e1d69ca7f769f5c558619d644d90dd8bf26ebcX Refsource MISCREPORTFIXWEBPatch
- github.com/cure53/DOMPurifyPACKAGE