CriticalGHSA-p3vf-v8qc-cwcrCVE-2024-48910
DOMPurify vulnerable to tampering by prototype polution
Published 31 Oct 2024 · Updated 3 Nov 2025
Affected package
dompurifynpm
- Affected
- <2.4.2
- Fixed in
- 2.4.2
Update to the fixed version for your release line, for example:
npm install dompurify@2.4.2Details
dompurify was vulnerable to prototype pollution
Fixed by https://github.com/cure53/DOMPurify/commit/d1dd0374caef2b4c56c3bd09fe1988c3479166dc
Is GHSA-p3vf-v8qc-cwcr in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected dompurify, and gives you the command that fixes it.
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.