Home / Geshi / Geshi / CVE-2008-5186
CVE-2008-5186: is it exploited, and which versions of Geshi are affected and fixed?
CVE-2008-5186 is an improper input validation vulnerability in Geshi. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: geshi through 1.0.8, geshi 1.0.0, geshi 1.0.1 and 29 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.5, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:51 UTC.
Disputed: a party (often the vendor) disputes that this is a vulnerability. The record is kept as published.
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
From the CVE record by mitre, last updated August 7, 2024, 10:40 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| geshi | geshi | through 1.0.8 | application |
| geshi | geshi | 1.0.0 | application |
| geshi | geshi | 1.0.1 | application |
| geshi | geshi | 1.0.2 | application |
| geshi | geshi | 1.0.2_beta_1 | application |
| geshi | geshi | 1.0.3 | application |
| geshi | geshi | 1.0.4 | application |
| geshi | geshi | 1.0.5 | application |
| geshi | geshi | 1.0.6 | application |
| geshi | geshi | 1.0.7 | application |
| geshi | geshi | 1.0.7.1 | application |
| geshi | geshi | 1.0.7.2 | application |
| geshi | geshi | 1.0.7.3 | application |
| geshi | geshi | 1.0.7.4 | application |
| geshi | geshi | 1.0.7.5 | application |
| geshi | geshi | 1.0.7.6 | application |
| geshi | geshi | 1.0.7.7 | application |
| geshi | geshi | 1.0.7.8 | application |
| geshi | geshi | 1.0.7.9 | application |
| geshi | geshi | 1.0.7.10 | application |
| geshi | geshi | 1.0.7.11 | application |
| geshi | geshi | 1.0.7.12 | application |
| geshi | geshi | 1.0.7.13 | application |
| geshi | geshi | 1.0.7.14 | application |
| geshi | geshi | 1.0.7.15 | application |
NVD analysis (status Modified), last modified June 16, 2026, 22:59 UTC.
How severe is CVE-2008-5186?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2008-5186 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.97% probability of exploitation activity in the next 30 days, percentile 81.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
Where are the vendor advisories and references?
- geshi-unspecified-code-execution(46271) vdb-entry, x_refsource_XF
- http://sourceforge.net/project/shownotes.php?release_id=637321 x_refsource_CONFIRM
- 32559 third-party-advisory, x_refsource_SECUNIA
- 32070 vdb-entry, x_refsource_BID
- [oss-security] 20081110 GeSHi: Clarification about the recent security (non-)issues (SA32559) mailing-list, x_refsource_MLIST
- 49488 vdb-entry, x_refsource_OSVDB
When was it published, and where is the official record?
- Reserved
- November 20, 2008
- Published
- November 21, 2008, 02:00 UTC
- CVE record updated
- August 7, 2024, 10:40 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 22:59 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:51 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Geshi?
- Mar 9, 2025CVE-2025-2123 GeSHi: cross-site scripting (XSS)
- Nov 21, 2008CVE-2008-5185 Geshi: n/a
- Sep 27, 2005CVE-2005-3080 Geshi: n/a
Questions about CVE-2008-5186
Is CVE-2008-5186 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 1.97% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Geshi are affected by CVE-2008-5186?
geshi through 1.0.8, geshi 1.0.0, geshi 1.0.1, geshi 1.0.2, geshi 1.0.2_beta_1, geshi 1.0.3 and 26 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2008-5186?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2008-5186?
High (7.5, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2008-5186?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.