{"id":"GHSA-gx9m-whjm-85jf","revision":"afe8b7330c6a4da18260fa9438209c4f","records":[{"revision":"afe8b7330c6a4da18260fa9438209c4f","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-gx9m-whjm-85jf","aliases":["CVE-2024-47875"],"title":"DOMpurify has a nesting-based mXSS","description":"DOMpurify was vulnerable to nesting-based mXSS \n\nfixed by [0ef5e537](https://github.com/cure53/DOMPurify/tree/0ef5e537a514f904b6aa1d7ad9e749e365d7185f) (2.x) and\n[merge 943](https://github.com/cure53/DOMPurify/pull/943)\n\nBackporter should be aware of GHSA-mmhx-hmjr-r674 (CVE-2024-45801) when cherry-picking\n\nPOC is avaible under [test](https://github.com/cure53/DOMPurify/blob/0ef5e537a514f904b6aa1d7ad9e749e365d7185f/test/test-suite.js#L2098)","state":0,"publishedAt":"2024-10-11T17:27:29+00:00","modifiedAt":"2026-09-10T03:50:19.7019446+00:00","affected":[{"ecosystem":"npm","name":"dompurify","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.5.0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"dompurify","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"3.0.0"},{"kind":"fixed","version":"3.1.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:H","score":null,"severity":null},{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:H/SA:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/cure53/DOMPurify/security/advisories/GHSA-gx9m-whjm-85jf","https://nvd.nist.gov/vuln/detail/CVE-2024-47875","https://github.com/cure53/DOMPurify/commit/0ef5e537a514f904b6aa1d7ad9e749e365d7185f","https://github.com/cure53/DOMPurify/commit/6ea80cd8b47640c20f2f230c7920b1f4ce4fdf7a","https://github.com/cure53/DOMPurify","https://github.com/cure53/DOMPurify/blob/0ef5e537a514f904b6aa1d7ad9e749e365d7185f/test/test-suite.js#L2098","https://lists.debian.org/debian-lts-announce/2025/02/msg00010.html","http://seclists.org/fulldisclosure/2025/Apr/14"],"sourceUrl":"https://github.com/advisories/GHSA-gx9m-whjm-85jf","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-gx9m-whjm-85jf","identifiers":["GHSA-gx9m-whjm-85jf","CVE-2024-47875"]},"retained":false,"historicalAffected":[]}],"coverage":[]}