CVE-2024-48910 DOMPurify vulnerable to tampering by prototype polution

Critical 9.1 Published Updated
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.

PackageAffectedFixed in
dompurify npmAll versions2.4.2
dompurify npmAll versions2.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.

Sources

Also known as DEBIAN-CVE-2024-48910, GHSA-p3vf-v8qc-cwcr, UBUNTU-CVE-2024-48910.

Is CVE-2024-48910 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free