npm/dompurify CVE-2024-47875: critical 10, EPSS 1.13%
DOMpurify has a nesting-based mXSS
Action: Upgrade dompurify to 2.5.0 or later.
npm i dompurify@2.5.0npm i dompurify@3.1.3Affected
| introduced | fixed | last affected |
|---|---|---|
| 0 | 2.5.0 | - |
| 3.0.0 | 3.1.3 | - |
Fixed versions
| 2.5.0 | 3.1.3 |
Sources
- osv: GHSA-gx9m-whjm-85jf
- 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
CVE-2024-47875 · published · modified · JSON