CVE-2025-2123: GeSHi XSS possible in the get_var function of /contrib/cssgen.php
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 getvar 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.
Published Mar 9, 2025 · Updated Jun 23, 2025
Affected packages
geshi/geshi
- Ecosystem
- Composer (PHP)
- Affected
- <= 1.0.9.1
- Fixed in
- No patched version yet
- Check
composer show geshi/geshi
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
