MediumGHSA-3p68-m5qw-9g9wCVE-2010-4183

HTML Purifier cross-site scripting (XSS) vulnerability

Published 13 May 2022 · Updated 23 Apr 2024

Is your project on an affected ezyang/htmlpurifier?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

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.0

Details

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.

More advisories for ezyang/htmlpurifier

  • MediumCVE-2010-2479HTML Purifier Cross-site Scripting (XSS) vulnerability · 17 May 2022
  • MediumCVE-2011-3744HTML Purifier allows remote attackers to obtain sensitive information · 17 May 2022
  • MediumCVE-2007-3498HTML Purifier Cross-site Scripting vulnerability · 1 May 2022
ezyang/htmlpurifier security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.