Vulnerability · Published Mar 9, 2025 · Assigned by VulDB
CVE-2025-2123GeSHi CSS cssgen.php get_var cross site scripting
Low 3.5
In plain English
A low-severity cross-site scripting in GeSHi. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | geshi | 1.0.8.4-2 | DEBIAN-CVE-2025-2123 |
| Debian:13 | geshi | 1.0.8.4-2 | DEBIAN-CVE-2025-2123 |
| Debian:14 | geshi | 1.0.8.4-2 | DEBIAN-CVE-2025-2123 |
| Packagist | geshi/geshi | no fix listed | GHSA-pr6q-g5gv-qgr7 |
| Ubuntu:22.04:LTS | geshi | no fix listed | UBUNTU-CVE-2025-2123 |
| Ubuntu:24.04:LTS | geshi | no fix listed | UBUNTU-CVE-2025-2123 |
| Ubuntu:25.10 | geshi | no fix listed | UBUNTU-CVE-2025-2123 |
| Ubuntu:26.04:LTS | geshi | no fix listed | UBUNTU-CVE-2025-2123 |
| Ubuntu:26.10 | geshi | no fix listed | UBUNTU-CVE-2025-2123 |
Affected products (as reported)
Weakness: CWE-79, CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N
References
- VDB-299036 | GeSHi CSS cssgen.php get_var cross site scripting vdb-entry, technical-description
- VDB-299036 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- Submit #507418 | GeShi ≤1.0.9.1 Cross Site Scripting third-party-advisory
- https://github.com/GeSHi/geshi-1.0/issues/159 issue-tracking
- https://github.com/GeSHi/geshi-1.0/issues/159#issue-2880408694 exploit, issue-tracking