Skip to content
Fencer Intel
medium 5.0

CVE-2012-3521 json

GeSHi vulnerable to Directory Traversal

published 2014-06-13 12 y ago modified 2026-06-16 4 mo ago also GHSA-fw3x-2pr2-5j64 , EUVD-2012-3476

cvss
5.0
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.2%
EPSS 3.2% chance of exploitation in 30 days, percentile 88%
public exploits
0
none known

Summary

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.

Patch / fix

  • packagist geshi/geshi 1.0.8.11
  • geshi Debian 14, Debian 13, Debian 12 1.0.8.4-2

debian advisories DEBIAN-CVE-2012-3521

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2012-3521 updated cvss 4.3

php-geshi: Remote directory traversal and information disclosure (local file inclusion) in the contrib module

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.17% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • sourceforge.net http://sourceforge.net/p/geshi/code/2507/ referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:P/I:N/A:N

Affected packages

ecosystem package affected fixed in
packagist geshi/geshi
<1.0.8.11
1.0.8.11

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.