GHSA-pr6q-g5gv-qgr7

Suggest an improvement
Source
https://github.com/advisories/GHSA-pr6q-g5gv-qgr7
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-pr6q-g5gv-qgr7/GHSA-pr6q-g5gv-qgr7.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-pr6q-g5gv-qgr7
Aliases
Published
2025-03-09T15:31:20Z
Modified
2025-06-23T23:27:09.742296Z
Severity
  • 3.5 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N CVSS Calculator
  • 5.1 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
GeSHi XSS possible in the get_var function of /contrib/cssgen.php
Details

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.

Database specific
{
    "nvd_published_at": "2025-03-09T15:15:36Z",
    "severity": "MODERATE",
    "github_reviewed_at": "2025-06-23T22:42:17Z",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-79"
    ]
}
References

Affected packages

Packagist / geshi/geshi

Package

Name
geshi/geshi
Purl
pkg:composer/geshi/geshi

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
1.0.9.1

Affected versions

v1.*

v1.0.8.12
v1.0.8.13
v1.0.9.0
v1.0.9.1