{"schema_version":"1.9.0","id":"CVE-2024-47875","published":"2024-10-11T14:59:27.641Z","modified":"2026-08-12T03:51:41.602299095Z","aliases":["GHSA-gx9m-whjm-85jf"],"related":["ALSA-2024:8327","ALSA-2024:8678","ALSA-2024:9473","CGA-vwxq-5h3q-2fvp","openSUSE-SU-2025:14663-1"],"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.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/cure53/dompurify","events":[{"introduced":"0"},{"fixed":"7f6cf8a7590ddb4fbc2e914d42544ed2dcf1c4cd"},{"introduced":"5dcf2a012c70ea8b65c0ecff7de86a61d7d98181"},{"fixed":"3fe78d7501103832166613bb1452985dd4674008"},{"fixed":"0ef5e537a514f904b6aa1d7ad9e749e365d7185f"},{"fixed":"6ea80cd8b47640c20f2f230c7920b1f4ce4fdf7a"}],"database_specific":{"cpe":"cpe:2.3:a:cure53:dompurify:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"2.5.0"},{"introduced":"3.0.0"},{"fixed":"3.1.3"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["3.1.0","2.5.0","3.0.11","2.4.9","3.0.10","2.4.8","3.0.9","2.4.7","3.0.8","3.0.7","3.0.6","3.0.5","2.4.6","3.0.4","3.0.3","2.4.5","3.0.2","3.0.1","2.4.4","3.0.0","2.4.3","2.4.2","2.4.1","2.4.0","2.3.12","2.3.11","2.3.10","2.3.9","2.3.8","2.3.6","2.3.5","2.3.4","2.3.3","2.3.2","2.3.1","2.3.0","2.2.9","2.2.8","2.2.7","2.2.6","2.2.4","2.2.3","2.2.2","2.2.0","2.1.1","2.1.0","2.0.17","2.0.16","2.0.15","2.0.14","2.0.13","2.0.12","2.0.11","2.0.10","2.0.9","2.0.8","2.0.6","2.0.5","2.0.4","2.0.3","2.0.2","2.0.1","2.0.0","1.0.11","1.0.10","1.0.9","1.0.8","1.0.7","1.0.6","1.0.5","1.0.4","1.0.3","1.0.2","1.0.1","1.0.0","0.9.0","0.8.9","0.8.8","0.8.7","0.8.6","0.8.5","0.8.4","0.8.3","0.8.2","0.8.1","0.8.0","0.7.3","0.7.2","0.7.1","0.7.0","0.6.7","0.6.6","0.6.5","0.6.4","0.6.3","0.6.2","0.6.1","0.6.0","0.4.5","0.4.4","0.4.3","0.4.2","0.4","0.3","v0.3","0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-47875.json"}}],"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"}],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47875.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:H"}]}