{"id":"CVE-2025-2123","aliases":["DEBIAN-CVE-2025-2123","EUVD-2025-7508","GHSA-pr6q-g5gv-qgr7","UBUNTU-CVE-2025-2123"],"status":"published","title":"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.","severity":{"version":"4.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","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00475,"percentile":0.41291,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79","CWE-94"],"published":"2025-03-09T15:00:12Z","modified":"2026-10-28T02:30:55Z","fixes":[{"ecosystem":"Debian:12","package":"geshi","fixed_in":["1.0.8.4-2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"geshi","fixed_in":["1.0.8.4-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"geshi","fixed_in":["1.0.8.4-2"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"geshi/geshi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.0.9.1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"geshi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.8.4-2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"geshi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.8.4-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"geshi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.8.4-2"}]}]},{"source":"osv","ecosystem":"Packagist","package":"geshi/geshi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.0.9.1"}]}],"versions":["v1.0.8.12","v1.0.8.13","v1.0.9.0","v1.0.9.1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"geshi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.8.11-2","1.0.8.11-2ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"geshi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.8.11-2.1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"geshi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.8.11-3"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"geshi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.9.1-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"geshi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.9.1-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"geshi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.9.1-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"geshi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.9.1-1build1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"geshi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.9.1-1","1.0.9.1-1build1"]}],"products":[{"vendor":"qbnz","product":"geshi"}],"references":[{"url":"https://vuldb.com/?id.299036","tags":["vdb-entry","technical-description","Third Party Advisory","VDB Entry","advisory","web","report"]},{"url":"https://vuldb.com/?ctiid.299036","tags":["signature","permissions-required","Permissions Required","VDB Entry","report","web"]},{"url":"https://vuldb.com/?submit.507418","tags":["third-party-advisory","Exploit","Third Party Advisory","VDB Entry","advisory","web","report"]},{"url":"https://github.com/GeSHi/geshi-1.0/issues/159","tags":["issue-tracking","exploit","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://github.com/GeSHi/geshi-1.0/issues/159#issue-2880408694","tags":["exploit","issue-tracking","Exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-2123","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-pr6q-g5gv-qgr7"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/2xxx/CVE-2025-2123.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-2123","tags":["advisory"]},{"url":"https://github.com/GeSHi/geshi-1.0","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2025-2123","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-2123","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2025-2123","title":"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.","status":"published","published":"2025-03-09T15:00:12.269Z","modified":"2025-03-10T15:35:51.889Z","cvss":[{"version":"4.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","level":"medium","assessor":"cna"},{"version":"3.1","score":3.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","level":"low","assessor":"cna"},{"version":"3.0","score":3.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","level":"low","assessor":"cna"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:N/I:P/A:N","assessor":"cna"}],"cwes":["CWE-79","CWE-94"],"updated_at":"2026-11-02T14:32:38.351095Z"}],"euvd":[{"id":"EUVD-2025-7508","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.","status":"published","published":"2025-03-09T15:00:12Z","modified":"2025-03-10T15:35:51Z","cvss":[{"version":"4.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","level":"medium"}],"updated_at":"2026-11-02T20:53:09.715484Z"}],"ghsa":[{"id":"GHSA-pr6q-g5gv-qgr7","title":"GeSHi XSS possible in the get_var function of /contrib/cssgen.php","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.","status":"published","published":"2025-03-09T15:31:20Z","modified":"2025-06-23T22:42:17Z","cvss":[{"version":"4.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","level":"medium"},{"version":"3.1","score":3.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","level":"low"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:38:47.835488Z"}],"nvd":[{"id":"CVE-2025-2123","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.","status":"published","published":"2025-03-09T15:15:36.413Z","modified":"2026-06-17T09:06:22.393Z","cvss":[{"version":"4.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/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","level":"medium","assessor":"secondary"},{"version":"3.1","score":3.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","level":"low","assessor":"secondary"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:N/I:P/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-79","CWE-94"],"updated_at":"2026-11-02T14:10:53.101324Z"}],"osv":[{"id":"CVE-2025-2123","title":"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.","status":"published","published":"2025-03-09T15:00:12.269Z","modified":"2026-10-28T02:30:55.203374399Z","cvss":[{"version":"4.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","level":"medium"}],"cwes":["CWE-79","CWE-94"],"updated_at":"2026-11-02T15:44:46.665428Z"},{"id":"DEBIAN-CVE-2025-2123","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.","status":"published","published":"2025-03-09T15:15:36.413Z","modified":"2026-09-01T20:05:41.722418084Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:45.102284Z"},{"id":"GHSA-pr6q-g5gv-qgr7","title":"GeSHi XSS possible in the get_var function of /contrib/cssgen.php","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.","status":"published","published":"2025-03-09T15:31:20Z","modified":"2025-06-23T23:27:09.742296Z","cvss":[{"version":"3.1","score":3.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","level":"low"},{"version":"4.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","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:53.700556Z"},{"id":"UBUNTU-CVE-2025-2123","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.","status":"published","published":"2025-03-09T15:15:00Z","modified":"2026-10-17T12:57:01.727843289Z","cvss":[{"version":"3.1","score":3.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","level":"low"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"},{"version":"4.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","level":"medium"}],"updated_at":"2026-11-02T16:55:20.144818Z"}]}}
