GitHub Advisoryadvisory · npm
GHSA-p3vf-v8qc-cwcr DOMPurify vulnerable to tampering by prototype polution
CRITICAL
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
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-p3vf-v8qc-cwcr web
- https://nvd.nist.gov/vuln/detail/CVE-2024-48910 advisory
- https://github.com/cure53/DOMPurify/commit/d1dd0374caef2b4c56c3bd09fe1988c3479166dc web
- https://github.com/cure53/DOMPurify package
- https://lists.debian.org/debian-lts-announce/2025/02/msg00010.html web