XSS in Cure53 Dompurify
CVE-2024-47875
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.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.007 (72.4th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 10.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:H.
Affected products
- Cure53 Dompurify — versions < 2.5.0, < 3.1.3
Weakness classification (CWE)
Public proof-of-concept exploits
References
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-gx9m-whjm-85jf (x_refsource_CONFIRM)
- https://github.com/cure53/DOMPurify/commit/0ef5e537a514f904b6aa1d7ad9e749e365d7185f (x_refsource_MISC)
- https://github.com/cure53/DOMPurify/commit/6ea80cd8b47640c20f2f230c7920b1f4ce4fdf7a (x_refsource_MISC)
- https://github.com/cure53/DOMPurify/blob/0ef5e537a514f904b6aa1d7ad9e749e365d7185f/test/test-suite.js#L2098 (x_refsource_MISC)
Frequently asked questions
- What is CVE-2024-47875?
- CVE-2024-47875 is a critical-severity vulnerability in Cure53 Dompurify, classified under Cross-site Scripting. CVSS score: 10.0/10. Published 2024-10-11.
- How severe is CVE-2024-47875?
- Critical severity. CVSS v3 base score is 10.0 out of 10.
- Is CVE-2024-47875 known to be exploited?
- 7 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.