6.1
MEDIUM CVSS 3.1
CVE-2025-2123
GeSHi CSS cssgen.php get_var cross site scripting
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.

INFO

Published Date :

March 9, 2025, 3:15 p.m.

Last Modified :

June 23, 2025, 6:53 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2025-2123 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Qbnz geshi
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.1 LOW [email protected]
CVSS 3.1 MEDIUM [email protected]
CVSS 4.0 MEDIUM [email protected]
Solution
Update GeSHi to a version later than 1.0.9.1 to fix the cross-site scripting vulnerability.
  • Update GeSHi to a secure version.
  • Apply vendor patches if available.
  • Sanitize user inputs to prevent XSS.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2025-2123.

URL Resource
https://github.com/GeSHi/geshi-1.0/issues/159 Exploit Issue Tracking Third Party Advisory
https://github.com/GeSHi/geshi-1.0/issues/159#issue-2880408694 Exploit Issue Tracking Third Party Advisory
https://vuldb.com/?ctiid.299036 Permissions Required VDB Entry
https://vuldb.com/?id.299036 Third Party Advisory VDB Entry
https://vuldb.com/?submit.507418 Exploit Third Party Advisory VDB Entry
https://github.com/GeSHi/geshi-1.0/issues/159 Exploit Issue Tracking Third Party Advisory
https://github.com/GeSHi/geshi-1.0/issues/159#issue-2880408694 Exploit Issue Tracking Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-2123 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-2123 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-2123 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Jun. 23, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    Added CWE CWE-79
    Added CPE Configuration OR *cpe:2.3:a:qbnz:geshi:*:*:*:*:*:*:*:* versions up to (including) 1.0.9.1
    Added Reference Type CISA-ADP: https://github.com/GeSHi/geshi-1.0/issues/159 Types: Exploit, Issue Tracking, Third Party Advisory
    Added Reference Type VulDB: https://github.com/GeSHi/geshi-1.0/issues/159 Types: Exploit, Issue Tracking, Third Party Advisory
    Added Reference Type CISA-ADP: https://github.com/GeSHi/geshi-1.0/issues/159#issue-2880408694 Types: Exploit, Issue Tracking, Third Party Advisory
    Added Reference Type VulDB: https://github.com/GeSHi/geshi-1.0/issues/159#issue-2880408694 Types: Exploit, Issue Tracking, Third Party Advisory
    Added Reference Type VulDB: https://vuldb.com/?ctiid.299036 Types: Permissions Required, VDB Entry
    Added Reference Type VulDB: https://vuldb.com/?id.299036 Types: Third Party Advisory, VDB Entry
    Added Reference Type VulDB: https://vuldb.com/?submit.507418 Types: Exploit, Third Party Advisory, VDB Entry
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Mar. 10, 2025

    Action Type Old Value New Value
    Added Reference https://github.com/GeSHi/geshi-1.0/issues/159
    Added Reference https://github.com/GeSHi/geshi-1.0/issues/159#issue-2880408694
  • New CVE Received by [email protected]

    Mar. 09, 2025

    Action Type Old Value New Value
    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.
    Added CVSS V4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
    Added CVSS V3.1 AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N
    Added CVSS V2 (AV:N/AC:L/Au:S/C:N/I:P/A:N)
    Added CWE CWE-79
    Added CWE CWE-94
    Added Reference https://github.com/GeSHi/geshi-1.0/issues/159
    Added Reference https://github.com/GeSHi/geshi-1.0/issues/159#issue-2880408694
    Added Reference https://vuldb.com/?ctiid.299036
    Added Reference https://vuldb.com/?id.299036
    Added Reference https://vuldb.com/?submit.507418
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 5.1
Attack Vector
Attack Complexity
Attack Requirements
Privileges Required
User Interaction
VS Confidentiality
VS Integrity
VS Availability
SS Confidentiality
SS Integrity
SS Availability
Base CVSS Score: 6.1
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 4
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact