# CVE-2012-3522: GeSHi vulnerable to Cross-site Scripting

Source: https://junglewise.ai/threats/cve-2012-3522-geshi-vulnerable-to-cross-site-scripting  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-17  
License: CC BY 4.0 with a link back

CVE-2012-3522 · Severity: medium · CVSS 4 · Published 2022-05-17

GeSHi vulnerable to Cross-site Scripting

Technologies: [geshi/geshi (Packagist)](https://junglewise.ai/threats/technologies/geshi-geshi). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2012-3522 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2012-3522 being exploited in the wild.

**How severe is CVE-2012-3522?** Medium severity, with a CVSS score of 4, published 17 May 2022.

**Which products and versions are affected?** geshi/geshi (Packagist) ECOSYSTEM:introduced=0,fixed=1.0.8.11.

**Is there a fix for CVE-2012-3522?** Yes. geshi/geshi (Packagist): upgrade to 1.0.8.11 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2012-3522?** Check whether you run geshi/geshi (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- geshi/geshi (Packagist): upgrade to 1.0.8.11 or later

  ```sh
  composer require geshi/geshi:^1.0.8.11
  ```


## Affected products

- geshi/geshi (Packagist) ECOSYSTEM:introduced=0,fixed=1.0.8.11

## Identifiers

- CVE-2012-3522
- GHSA-f3f3-5q5j-6v47

## Related threats

- [GeSHi XSS possible in the get_var function of /contrib/cssgen.php](https://junglewise.ai/threats/cve-2025-2123-geshi-xss-possible-in-the-get-var-function-of-contrib-cssgen-php)
- [GeSHi vulnerable to Directory Traversal](https://junglewise.ai/threats/cve-2012-3521-geshi-vulnerable-to-directory-traversal)
