GitHub Advisoryadvisory · Packagist
GHSA-pr6q-g5gv-qgr7 GeSHi XSS possible in the get_var function of /contrib/cssgen.php
MEDIUM
Official page ↗
- Aliases
- CVE-2025-2123
- Ecosystem
- Packagist
- Packages
- geshi/geshi
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2025-06-23
Affected packages
• Packagist geshi/geshi: <= 1.0.9.1 (no fix yet)
Description
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.
Related
Alias · CVE (1)
- CVE-2025-2123 A vulnerability, which was classified as problematic, has been found in GeSHi up to 1.0.9.1. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness