{"id":"CVE-2024-47875","aliases":["GHSA-gx9m-whjm-85jf"],"url":"https://o3.security/vulnerability/CVE-2024-47875","summary":"DOMPurify nesting-based mXSS","details":"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.","published":"2024-10-11T14:59:27.641Z","modified":"2026-08-12T03:51:41.602299095Z","cvss":{"score":10,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:H"},"epss":{"score":0.0107,"percentile":0.63018,"asOf":"2026-09-15"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"dompurify","fixedVersion":"2.5.0"},{"ecosystem":"npm","name":"dompurify","fixedVersion":"3.1.3"}],"fix":{"url":"https://github.com/cure53/DOMPurify/commit/0ef5e537a514f904b6aa1d7ad9e749e365d7185f","label":"cure53/DOMPurify@0ef5e53"},"references":[{"type":"WEB","url":"http://seclists.org/fulldisclosure/2025/Apr/14"},{"type":"WEB","url":"https://github.com/cure53/DOMPurify/blob/0ef5e537a514f904b6aa1d7ad9e749e365d7185f/test/test-suite.js#L2098"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00010.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47875.json"},{"type":"ADVISORY","url":"https://github.com/cure53/DOMPurify/security/advisories/GHSA-gx9m-whjm-85jf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47875"},{"type":"FIX","url":"https://github.com/cure53/DOMPurify/commit/0ef5e537a514f904b6aa1d7ad9e749e365d7185f"},{"type":"FIX","url":"https://github.com/cure53/DOMPurify/commit/6ea80cd8b47640c20f2f230c7920b1f4ce4fdf7a"},{"type":"PACKAGE","url":"https://github.com/cure53/DOMPurify"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:41.602299095Z"}}