CVE-2008-5186
CVE-2008-5186 is a high-severity vulnerability in Geshi with a CVSS 2.0 base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-20.
Key facts
- Severity: High (CVSS 2.0 base score 7.5)
- EPSS exploit prediction: 2% (78th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-20
- Affected product: Geshi
- Published:
- Last modified:
Description
The set_language_path function in geshi.php in Generic Syntax Highlighter (GeSHi) before 1.0.8.1 might allow remote attackers to conduct file inclusion attacks via crafted inputs that influence the default language path ($path variable). NOTE: this issue has been disputed by a vendor, stating that only a static value is used, so this is not a vulnerability in GeSHi. Separate CVE identifiers would be created for web applications that integrate GeSHi in a way that allows control of the default language path
Frequently asked questions
- What is CVE-2008-5186?
- The set_language_path function in geshi.php in Generic Syntax Highlighter (GeSHi) before 1.0.8.1 might allow remote attackers to conduct file inclusion attacks via crafted inputs that influence the default language path ($path variable). NOTE: this issue has been disputed by a vendor, stating that only a static value is used, so this is not a vulnerability in GeSHi. Separate CVE identifiers would be created for web applications that integrate GeSHi in a way that allows control of the default language path
- How severe is CVE-2008-5186?
- CVE-2008-5186 has a CVSS 2.0 base score of 7.5, rated high severity.
- Is CVE-2008-5186 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (78th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2008-5186?
- CVE-2008-5186 primarily affects Geshi. In total, 32 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2008-5186?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2008-5186 published?
- CVE-2008-5186 was published on 2008-11-21 and last updated on 2026-06-16.
References
- http://osvdb.org/49488
- http://secunia.com/advisories/32559
- http://sourceforge.net/project/shownotes.php?release_id=637321
- http://www.openwall.com/lists/oss-security/2008/11/10/8
- http://www.securityfocus.com/bid/32070
- https://exchange.xforce.ibmcloud.com/vulnerabilities/46271
Affected products (32)
- cpe:2.3:a:geshi:geshi:*:*:*:*:*:*:*:*
- cpe:2.3:a:geshi:geshi:1.0.0:*:*:*:*:*:*:*
- cpe:2.3:a:geshi:geshi:1.0.1:*:*:*:*:*:*:*
- cpe:2.3:a:geshi:geshi:1.0.2:*:*:*:*:*:*:*
- cpe:2.3:a:geshi:geshi:1.0.2_beta_1:*:*:*:*:*:*:*
- cpe:2.3:a:geshi:geshi:1.0.3:*:*:*:*:*:*:*
- cpe:2.3:a:geshi:geshi:1.0.4:*:*:*:*:*:*:*
- cpe:2.3:a:geshi:geshi:1.0.5:*:*:*:*:*:*:*
- cpe:2.3:a:geshi:geshi:1.0.6:*:*:*:*:*:*:*
- cpe:2.3:a:geshi:geshi:1.0.7:*:*:*:*:*:*:*
- cpe:2.3:a:geshi:geshi:1.0.7.1:*:*:*:*:*:*:*
- cpe:2.3:a:geshi:geshi:1.0.7.2:*:*:*:*:*:*:*
- cpe:2.3:a:geshi:geshi:1.0.7.3:*:*:*:*:*:*:*
- cpe:2.3:a:geshi:geshi:1.0.7.4:*:*:*:*:*:*:*
- cpe:2.3:a:geshi:geshi:1.0.7.5:*:*:*:*:*:*:*
- cpe:2.3:a:geshi:geshi:1.0.7.6:*:*:*:*:*:*:*
- cpe:2.3:a:geshi:geshi:1.0.7.7:*:*:*:*:*:*:*
- cpe:2.3:a:geshi:geshi:1.0.7.8:*:*:*:*:*:*:*
- cpe:2.3:a:geshi:geshi:1.0.7.9:*:*:*:*:*:*:*
- cpe:2.3:a:geshi:geshi:1.0.7.10:*:*:*:*:*:*:*
- cpe:2.3:a:geshi:geshi:1.0.7.11:*:*:*:*:*:*:*
- cpe:2.3:a:geshi:geshi:1.0.7.12:*:*:*:*:*:*:*
- cpe:2.3:a:geshi:geshi:1.0.7.13:*:*:*:*:*:*:*
- cpe:2.3:a:geshi:geshi:1.0.7.14:*:*:*:*:*:*:*
- cpe:2.3:a:geshi:geshi:1.0.7.15:*:*:*:*:*:*:*
- cpe:2.3:a:geshi:geshi:1.0.7.16:*:*:*:*:*:*:*
- cpe:2.3:a:geshi:geshi:1.0.7.17:*:*:*:*:*:*:*
- cpe:2.3:a:geshi:geshi:1.0.7.18:*:*:*:*:*:*:*
- cpe:2.3:a:geshi:geshi:1.0.7.19:*:*:*:*:*:*:*
- cpe:2.3:a:geshi:geshi:1.0.7.20:*:*:*:*:*:*:*
- cpe:2.3:a:geshi:geshi:1.0.7.21:*:*:*:*:*:*:*
- cpe:2.3:a:geshi:geshi:1.0.7.22:*:*:*:*:*:*:*
More vulnerabilities in Geshi
- CVE-2008-5185 — Medium (CVSS 5.0): The highlighting functionality in geshi.php in GeSHi before 1.0.8 allows remote attackers to cause a denial of service…
- CVE-2005-3080 — Medium (CVSS 5.0): contrib/example.php in GeSHi before 1.0.7.3 allows remote attackers to read arbitrary files via the language field…
Other CWE-20 (Improper Input Validation) vulnerabilities
- CVE-2026-48316 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Input Validation vulnerability that could…
- CVE-2026-48281 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Input Validation vulnerability that could…
- CVE-2026-48277 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Input Validation vulnerability that could…
- CVE-2026-48055 — Critical (CVSS 10.0): Streambert is a cross-platform Electron Desktop App to stream and download any video media. In versions 2.4.0 and…
- CVE-2026-34910 — Critical (CVSS 10.0): A malicious actor with access to the network could exploit an Improper Input Validation vulnerability found in UniFi OS…
- CVE-2026-33587 — Critical (CVSS 10.0): Lack of user input sanitisation in Open Notebook v1.8.3 allows the application user to execute Python code (and…
Browse all CWE-20 (Improper Input Validation) vulnerabilities →