{"id":"CVE-2025-2123","aliases":["CVE-2025-2123","GHSA-pr6q-g5gv-qgr7"],"related":[],"kind":"vulnerability","state":"published","title":"GeSHi CSS cssgen.php get_var cross site scripting","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"de","text":"Eine problematische Schwachstelle wurde in GeSHi bis 1.0.9.1 entdeckt. Es geht hierbei um die Funktion get_var der Datei /contrib/cssgen.php der Komponente CSS Handler. Dank Manipulation des Arguments default-styles/keywords-1/keywords-2/keywords-3/keywords-4/comments mit unbekannten Daten kann eine cross site scripting-Schwachstelle ausgenutzt werden. Der Angriff kann über das Netzwerk angegangen werden. Der Exploit steht zur öffentlichen Verfügung.","source":"cvelist"},{"lang":"es","text":"Se ha encontrado una vulnerabilidad clasificada como problemática en GeSHi hasta la versión 1.0.9.1. La función get_var del archivo /contrib/cssgen.php del componente CSS Handler se ve afectada por este problema. La manipulación del argumento default-styles/keywords-1/keywords-2/keywords-3/keywords-4/comments provoca cross site scripting. El ataque puede ejecutarse de forma remota. Se ha hecho público el exploit y puede que sea utilizado.","source":"nvd"}],"published":"2025-03-09T15:00:12.269Z","modified":"2026-06-17T09:06:22.393Z","severity":{"scorer":"VulDB","scheme":"CVSS:4.0","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","score":5.1,"rating":"MEDIUM"},"severities":[{"scorer":"VulDB","scheme":"CVSS:4.0","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","score":5.1,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","score":3.5,"rating":"LOW"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","score":3.5,"rating":"LOW"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:N/I:P/A:N","score":4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","score":3.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79","CWE-94"],"affected":[{"ranges":[{"version":"1.0.9.0","status":"affected"},{"version":"1.0.9.1","status":"affected"}],"product":"GeSHi","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"1.0.9.1"}],"ecosystem":"Packagist","package":"geshi/geshi","purl":"pkg:composer/geshi/geshi","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"1.0.9.1"}],"vendor":"qbnz","product":"geshi","cpe":"cpe:2.3:a:qbnz:geshi:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://vuldb.com/?id.299036","tags":["technical-description","third-party-advisory","vdb-entry","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://vuldb.com/?ctiid.299036","tags":["permissions-required","signature","vdb-entry","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://vuldb.com/?submit.507418","tags":["exploit","third-party-advisory","vdb-entry","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/GeSHi/geshi-1.0/issues/159","tags":["exploit","issue-tracking","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/GeSHi/geshi-1.0/issues/159#issue-2880408694","tags":["exploit","issue-tracking","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-2123","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/GeSHi/geshi-1.0","tags":["package"],"sources":["ghsa"]}],"credits":["jiashenghe (VulDB User)"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-03-10T15:35:12.703Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-2123","url":"https://www.cve.org/CVERecord?id=CVE-2025-2123","licence":"CVE Terms of Use","modified":"2025-03-10T15:35:51.889Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pr6q-g5gv-qgr7","url":"https://github.com/advisories/GHSA-pr6q-g5gv-qgr7","licence":"CC-BY-4.0","modified":"2025-06-23T23:27:09.742Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-2123","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-2123","licence":"Public domain","modified":"2026-06-17T09:06:22.393Z"}],"updatedAt":"2026-11-25T22:58:55.070Z","epss":{"score":0.00475,"percentile":0.42637,"date":"2026-12-02T12:00:21.000Z"}}