geshi — security advisory
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.
- Products
- geshi
- Affected versions
- 1.0.8.11-2, 1.0.8.11-2.1, 1.0.8.11-2ubuntu1, 1.0.8.11-3, 1.0.9.1-1, 1.0.9.1-1build1
- Fixed versions
- Not specified
- CVEs
- CVE-2025-2123
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:31 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2025-2123
geshi
Fixed versions: Not specified
geshi
Fixed versions: Not specified
geshi
Fixed versions: Not specified
geshi
Fixed versions: Not specified
geshi
Fixed versions: Not specified
geshi
Fixed versions: Not specified
geshi
Fixed versions: Not specified
geshi
Fixed versions: Not specified
Complete source record
{
"id": "954e177b204a9cef661b3a712fb5b52dd5ea6bf737b0774b6c4fa6f8b87db4f1",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2025-2123",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2025-2123",
"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.",
"evidence": "osv:UBUNTU-CVE-2025-2123",
"products": [
{
"name": {
"value": "geshi",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.0.8.11-2",
"evidence": "/affected/0/versions"
},
{
"value": "1.0.8.11-2ubuntu1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "geshi",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.0.8.11-2.1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "geshi",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.0.8.11-3",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "geshi",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.0.9.1-1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "geshi",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.0.9.1-1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "geshi",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.0.9.1-1",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "geshi",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.0.9.1-1build1",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "geshi",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.0.9.1-1",
"evidence": "/affected/7/versions"
},
{
"value": "1.0.9.1-1build1",
"evidence": "/affected/7/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2025-2123",
"aliases": [
"UBUNTU-CVE-2025-2123"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
{
"type": "CVSS_V4",
"score": "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"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "geshi",
"purl": "pkg:deb/ubuntu/geshi?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"1.0.8.11-2",
"1.0.8.11-2ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2123.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "php-geshi",
"binary_version": "1.0.8.11-2ubuntu1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "geshi",
"purl": "pkg:deb/ubuntu/geshi?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"1.0.8.11-2.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2123.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "php-geshi",
"binary_version": "1.0.8.11-2.1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "geshi",
"purl": "pkg:deb/ubuntu/geshi?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"1.0.8.11-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2123.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "php-geshi",
"binary_version": "1.0.8.11-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "geshi",
"purl": "pkg:deb/ubuntu/geshi?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"1.0.9.1-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2123.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "php-geshi",
"binary_version": "1.0.9.1-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "geshi",
"purl": "pkg:deb/ubuntu/geshi?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.0.9.1-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2123.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "php-geshi",
"binary_version": "1.0.9.1-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "geshi",
"purl": "pkg:deb/ubuntu/geshi?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"1.0.9.1-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2123.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "php-geshi",
"binary_version": "1.0.9.1-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "geshi",
"purl": "pkg:deb/ubuntu/geshi?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"1.0.9.1-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2123.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "php-geshi",
"binary_version": "1.0.9.1-1build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "geshi",
"purl": "pkg:deb/ubuntu/geshi?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"1.0.9.1-1",
"1.0.9.1-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-2123.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "php-geshi",
"binary_version": "1.0.9.1-1build1"
}
]
}
}
],
"modified": "2026-10-17T12:57:01.727843289Z",
"provider": "osv",
"upstream": [
"CVE-2025-2123"
],
"references": [
"https://ubuntu.com/security/CVE-2025-2123",
"https://www.cve.org/CVERecord?id=CVE-2025-2123",
"https://github.com/GeSHi/geshi-1.0/issues/159#issue-2880408694",
"https://vuldb.com/?ctiid.299036",
"https://vuldb.com/?id.299036",
"https://vuldb.com/?submit.507418"
]
},
"related_cves": [
{
"value": "CVE-2025-2123",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/1/score"
},
"source_id": "core-osv",
"document_id": 356657,
"published_at": "2025-03-09T15:15:00+00:00"
}