CVE-2025-2123 Details
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.
A cross-site scripting (XSS) vulnerability has been identified in GeSHi versions through 1.0.9.1. The issue resides in the CSS Handler component, specifically within the 'get_var' function of the 'contrib/cssgen.php' file. This vulnerability allows remote attackers to inject malicious HTML, which is executed when the affected page is viewed. The flaw impacts systems that use Composer to install the GeSHi library and have not removed the 'contrib' directory. Affected applications may include Dokuwiki, Mambo, phpBB, and WikkaWiki.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 10, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/GeSHi/geshi-1.0/issues/159 | CISA-ADP | ExploitIssue TrackingThird Party Advisory |
| https://github.com/GeSHi/geshi-1.0/issues/159#issue-2880408694 | CISA-ADP | ExploitIssue TrackingThird Party Advisory |
| https://github.com/GeSHi/geshi-1.0/issues/159 | [email protected] | ExploitIssue TrackingThird Party Advisory |
| https://github.com/GeSHi/geshi-1.0/issues/159#issue-2880408694 | [email protected] | ExploitIssue TrackingThird Party Advisory |
| https://vuldb.com/?ctiid.299036 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.299036 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.507418 | [email protected] | ExploitThird Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| qbnz geshi | <= 1.0.9.1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 23, 2025 | Initial Analysis | [email protected] |
| Mar 10, 2025 | CVE Modified | CISA-ADP |
| Mar 9, 2025 | New CVE Received | [email protected] |