Medium

GeSHi XSS possible in the get_var function of /contrib/cssgen.php

  • Disclosed: 09.03.2025
  • Updated: 11.10.2026 10:22

A vulnerability, which was classified as problematic, has been found in GeSHi up to 1.0.9.1. Affected by this issue is the function get_var of the file /contrib/cssgen.php of the component CSS Handler. The manipulation of the argument default-styles/keywords-1/keywords-2/keywords-3/keywords-4/comments leads to cross site scripting. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package geshi/geshi <= 1.0.9.1 no fix

References

CVSS score 3.5/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N
Weakness (CWE)
CWE-79
Platform
Composer
Package
geshi/geshi
Disclosed
09.03.2025
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-pr6q-g5gv-qgr7 - CC BY 4.0

Vulnerability history: geshi/geshi

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
3
First → latest
05.2022 03.2025
Without a fix
1
Exploited in attacks
0

Severity breakdown

  • High 1
  • Medium 2

Disclosures per year

  1. 2022: 2
  2. 2023: 0
  3. 2024: 0
  4. 2025: 1
  5. 2026: 0
  1. GeSHi XSS possible in the get_var function of /contrib/cssgen.php this entry
    Medium · 3.5 CVE-2025-2123 <= 1.0.9.1 no fix
  2. Medium CVE-2012-3522 < 1.0.8.11 1.0.8.11
  3. High CVE-2012-3521 < 1.0.8.11 1.0.8.11

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.