HighGHSA-fw3x-2pr2-5j64CVE-2012-3521
GeSHi vulnerable to Directory Traversal
Published 17 May 2022 · Updated 14 Apr 2025
Is your project on an affected geshi/geshi?
Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
geshi/geshiComposer
- Affected
- <1.0.8.11
- Fixed in
- 1.0.8.11
Update to the fixed version for your release line, for example:
composer require geshi/geshi:^1.0.8.11Details
Multiple directory traversal vulnerabilities in the cssgen contrib module in GeSHi before 1.0.8.11 allow remote attackers to read arbitrary files via a .. (dot dot) in the (1) geshi-path or (2) geshi-lang-path parameter.
Is GHSA-fw3x-2pr2-5j64 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 geshi/geshi, and gives you the command that fixes it.
More advisories for geshi/geshi
- MediumCVE-2025-2123GeSHi XSS possible in the get_var function of /contrib/cssgen.php · 9 Mar 2025
- MediumCVE-2012-3522GeSHi vulnerable to Cross-site Scripting · 17 May 2022
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2012-3521
- Linkbugs.debian.org/cgi-bin/bugreport.cgi?bug=685324
- Packagegithub.com/GeSHi/geshi-1.0
- Linklists.fedoraproject.org/pipermail/package-announce/2013-May/105247.html
- Linklists.fedoraproject.org/pipermail/package-announce/2013-May/105273.html
- Linklists.fedoraproject.org/pipermail/package-announce/2013-May/105317.html
- Linksourceforge.net/p/geshi/code/2507
- Linkwww.openwall.com/lists/oss-security/2012/08/21/11
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.