CVE-2025-2123

GeSHi CSS cssgen.php get_var cross site scripting

Published Mar 9, 2025 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-7508 GeSHi XSS possible in the get_var function of /contrib/cssgen.php
Github GHSA Github GHSA GHSA-pr6q-g5gv-qgr7 GeSHi XSS possible in the get_var function of /contrib/cssgen.php
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00053}

epss

{'score': 0.00055}

Type Values Removed Values Added
First Time appeared Qbnz
Qbnz geshi
CPEs cpe:2.3:a:qbnz:geshi:*:*:*:*:*:*:*:*
Vendors & Products Qbnz
Qbnz geshi
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title GeSHi CSS cssgen.php get_var cross site scripting
Weaknesses CWE-79
CWE-94
References
Metrics cvssV2_0

{'score': 4, 'vector': 'AV:N/AC:L/Au:S/C:N/I:P/A:N'}

cvssV3_0

{'score': 3.5, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N'}

cvssV3_1

{'score': 3.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N'}

cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Mar 10, 2025, 3:35 PM
Reserved
Mar 8, 2025, 2:26 PM
Status
Analyzed
Published
Mar 9, 2025, 3:15 PM
Modified
Jun 17, 2026, 9:06 AM