GitHub Advisory Database
GHSA-p3vf-v8qc-cwcr
DOMPurify vulnerable to tampering by prototype polution
Details
dompurify was vulnerable to prototype pollution
Fixed by https://github.com/cure53/DOMPurify/commit/d1dd0374caef2b4c56c3bd09fe1988c3479166dc
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | dompurify | All versions before 2.4.2 (fixed in 2.4.2) |
References
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-p3vf-v8qc-cwcr
- https://nvd.nist.gov/vuln/detail/CVE-2024-48910
- https://github.com/cure53/DOMPurify/commit/d1dd0374caef2b4c56c3bd09fe1988c3479166dc
- https://github.com/cure53/DOMPurify
- https://lists.debian.org/debian-lts-announce/2025/02/msg00010.html