MediumGHSA-3p68-m5qw-9g9wCVE-2010-4183
HTML Purifier cross-site scripting (XSS) vulnerability
Published 13 May 2022 · Updated 23 Apr 2024
Affected package
ezyang/htmlpurifierComposer
- Affected
- <4.1.0
- Fixed in
- 4.1.0
Update to the fixed version for your release line, for example:
composer require ezyang/htmlpurifier:^4.1.0Details
Multiple cross-site scripting (XSS) vulnerabilities in HTML Purifier before 4.1.0, when Internet Explorer is used, allow remote attackers to inject arbitrary web script or HTML via a crafted (1) background-image, (2) background, or (3) font-family Cascading Style Sheets (CSS) property, a different vulnerability than CVE-2010-2479.
Is GHSA-3p68-m5qw-9g9w 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 ezyang/htmlpurifier, and gives you the command that fixes it.
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.