CVE-2024-47875
Cure53 Dompurify vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Dompurify. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Cure53 Dompurify runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/cure53/DOMPurify/security/advisories/GHSA-gx9m-whjm-85jf
- nvd.nist.gov/vuln/detail/CVE-2024-47875
- github.com/cure53/DOMPurify/commit/0ef5e537a514f904b6aa1d7ad9e749e365d7185f
- github.com/cure53/DOMPurify/commit/6ea80cd8b47640c20f2f230c7920b1f4ce4fdf7a
- github.com/cure53/DOMPurify/blob/0ef5e537a514f904b6aa1d7ad9e749e365d7185f/test/test-suite.
- lists.debian.org/debian-lts-announce/2025/02/msg00010.html
- seclists.org/fulldisclosure/2025/Apr/14
- github.com/advisories/GHSA-gx9m-whjm-85jf
- nvd.nist.gov/vuln/detail/CVE-2024-47875
- cve.org/CVERecord?id=CVE-2024-47875
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.