CVE-2024-45801: cure53 dompurify
Vulnerability summary
CVE-2024-45801 is a high (CVSS 7.3) vulnerability in cure53 dompurify. EPSS estimates a 0.89% chance of exploitation in the next 30 days, higher than 58.8% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 1 · Related 3Timeline
- 16-09-2024PublishedVulnerability first disclosed.
- 16-09-2024Last 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.89%
Chance of exploitation in the next 30 days
Percentile
59%
Versus all other CVEs
30-day change
0.00 pp
From 0.89% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
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 Attributes ('Prototype Pollution')The 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
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
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
9 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