GitHub Advisoryadvisory · npm

GHSA-p3vf-v8qc-cwcr DOMPurify vulnerable to tampering by prototype polution

CRITICAL Published 2024-10-31 Modified 2025-11-03 Official page ↗
Aliases
CVE-2024-48910
Ecosystem
npm
Packages
dompurify
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weaknesses
CWE-1321
Reviewed
2024-10-31

Affected packages

• npm dompurify: < 2.4.2 → fixed in 2.4.2

Description

dompurify was vulnerable to prototype pollution Fixed by https://github.com/cure53/DOMPurify/commit/d1dd0374caef2b4c56c3bd09fe1988c3479166dc

Related

Alias · CVE (1)

  • CVE-2024-48910 DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. vulnerability

Weakness · CWE (1)

  • CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness

References