MediumGHSA-6rm6-mjmh-86jqCVE-2010-2479
HTML Purifier Cross-site Scripting (XSS) vulnerability
Published 17 May 2022 · Updated 23 Apr 2024
Affected package
ezyang/htmlpurifierComposer
- Affected
- <4.1.1
- Fixed in
- 4.1.1
Update to the fixed version for your release line, for example:
composer require ezyang/htmlpurifier:^4.1.1Details
Cross-site scripting (XSS) vulnerability in HTML Purifier before 4.1.1, as used in Mahara and other products, when the browser is Internet Explorer, allows remote attackers to inject arbitrary web script or HTML via unspecified vectors.
Is GHSA-6rm6-mjmh-86jq 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
- Advisorynvd.nist.gov/vuln/detail/CVE-2010-2479
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/ezyang/htmlpurifier/CVE-2010-2479.yaml
- Packagegithub.com/ezyang/htmlpurifier
- Linkhtmlpurifier.org/news/2010/0531-4.1.1-released
- Linkrepo.or.cz/w/htmlpurifier.git/commitdiff/18e538317a877a0509ae71a860429c41770da230
- Linksecunia.com/advisories/39613
- Linksecunia.com/advisories/40431
- Linkwiki.mahara.org/Release_Notes/1.0.15
- Linkwiki.mahara.org/Release_Notes/1.1.9
- Linkwiki.mahara.org/Release_Notes/1.2.5
- Linkwww.securityfocus.com/bid/41259
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.