CVE-2024-47875: DOMPurify nesting-based mXSS
Vulnerability summary
CVE-2024-47875 is a critical (CVSS 10.0) vulnerability in cure53 dompurify. EPSS estimates a 1.13% chance of exploitation in the next 30 days, higher than 67.5% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5 · Related 3Timeline
- 11-10-2024PublishedVulnerability first disclosed.
- 03-11-2025Last modifiedVulnerability information updated.
Description
DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMpurify was vulnerable to nesting-based mXSS. This vulnerability is fixed in 2.5.0 and 3.1.3.
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 · calculated10.0CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:H
- OSV · NpmEcosystem advisory · calculated10.0CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated10.0CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:H
- NVDNIST6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NDiffers
EPSS trend
Probability
1.13%
Chance of exploitation in the next 30 days
Percentile
68%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.13% 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
1 foundDompurify
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard2 products
- argo-workflows< 3.6.0-r0
- opensearch-dashboards-2-fips< 2.17.1-r0
Debian2 products
- cacti< 1.2.24+ds1-1+deb12u2 | < 1.2.26+ds1-1
- node-dompurify< 3.1.6+dfsg+~3.0.5-1 | < 2.4.1+dfsg+~2.4.0-2
Cure531 product
- dompurify< 3.1.3 | < 2.5.0 | ≥ 3.0.0, < 3.1.3
Npm1 product
- dompurify< 2.5.0 | ≥ 3.0.0, < 3.1.3
Ubuntu1 product
- node-dompurifyAll versions (No fix recorded)
Wolfi1 product
- argo-workflows< 3.6.0-r0
6 vendors · 8 products
References
12 links- github.com/cure53/DOMPurify/security/advisories/GHSA-gx9m-whjm-85jfX Refsource CONFIRMREPORTAdvisoryWEBExploitThird Party Advisory
- github.com/cure53/DOMPurify/commit/0ef5e537a514f904b6aa1d7ad9e749e365d7185fX Refsource MISCREPORTFIXWEBPatch
- github.com/cure53/DOMPurify/commit/6ea80cd8b47640c20f2f230c7920b1f4ce4fdf7aX Refsource MISCREPORTFIXWEBPatch
- github.com/cure53/DOMPurify/blob/0ef5e537a514f904b6aa1d7ad9e749e365d7185f/test/test-suite.jsX Refsource MISCREPORTWEBProduct
Show all 12 references
- github.com/cure53/DOMPurifyPACKAGE