Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. dompurify
  4. ›
  5. CVE-2024-48910

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

October 31, 2024 (updated November 3, 2025)

dompurify was vulnerable to prototype pollution

Fixed by https://github.com/cure53/DOMPurify/commit/d1dd0374caef2b4c56c3bd09fe1988c3479166dc

References

  • github.com/advisories/GHSA-p3vf-v8qc-cwcr
  • github.com/cure53/DOMPurify
  • github.com/cure53/DOMPurify/commit/d1dd0374caef2b4c56c3bd09fe1988c3479166dc
  • github.com/cure53/DOMPurify/security/advisories/GHSA-p3vf-v8qc-cwcr
  • lists.debian.org/debian-lts-announce/2025/02/msg00010.html
  • nvd.nist.gov/vuln/detail/CVE-2024-48910

Code Behaviors & Features

Detect and mitigate CVE-2024-48910 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.4.2

Fixed versions

  • 2.4.2

Solution

Upgrade to version 2.4.2 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Source file

npm/dompurify/CVE-2024-48910.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:54 +0000.