CVE-2024-48910 DOMPurify vulnerable to tampering by prototype polution
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2024-48910?
CVE-2024-48910 is a critical vulnerability in cure53 DOMPurify, published on 31 Oct 2024.
Official description
DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMPurify was vulnerable to prototype pollution. This vulnerability is fixed in 2.4.2.
Weakness: CWE-1321
Which versions are affected by CVE-2024-48910?
2 open source packages ship an affected version, including dompurify. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
dompurify npm | All versions | 2.4.2 |
dompurify npm | All versions | 2.4.2 |
Products include Cure53 Dompurify.
How do I fix CVE-2024-48910?
Upgrade dompurify to 2.4.2 or later.
Is CVE-2024-48910 being exploited?
There is no known exploitation of CVE-2024-48910 in the wild and no public exploit code.
Public exploit code: 2 proofs of concept on GitHub.
Other vulnerabilities in cure53 DOMPurify
- CVE-2024-47875 DOMPurify nesting-based mXSS
- CVE-2026-47423 DOMPurify XSS via `selectedcontent` re-clone
- CVE-2024-45801 Tampering by prototype polution in DOMPurify
- CVE-2026-49978 DOMPurify IN_PLACE Sanitization Bypass via Attached Shadow Root Inside <template>.content
- CVE-2026-49458 DOMPurify: Cross-realm IN_PLACE sanitization leaves executable markup intact via realm-bound `instanceof` checks
Sources
Also known as DEBIAN-CVE-2024-48910, GHSA-p3vf-v8qc-cwcr, UBUNTU-CVE-2024-48910.