CVE-2025-50978

Source
https://cve.org/CVERecord?id=CVE-2025-50978
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-50978.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-50978
Published
2025-08-27T00:00:00Z
Modified
2026-07-15T01:49:06.840337475Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

In Gitblit v1.7.1, a reflected cross-site scripting (XSS) vulnerability exists in the way repository path names are handled. By injecting a specially crafted path payload an attacker can cause arbitrary JavaScript to execute when a victim views the manipulated URL. This flaw stems from insufficient input sanitization of filename elements.

Database specific
{
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/50xxx/CVE-2025-50978.json"
}
References

Affected packages

Git / github.com/gitblit-org/gitblit

Affected ranges

Type
GIT
Repo
https://github.com/gitblit-org/gitblit
Events
Database specific
{
    "cpe": "cpe:2.3:a:gitblit:gitblit:1.7.1:*:*:*:*:*:*:*",
    "source": "CPE_STRING",
    "extracted_events": [
        {
            "introduced": "1.7.1"
        },
        {
            "last_affected": "1.7.1"
        }
    ]
}

Affected versions

1.*
1.7.1
v1.*
v1.7.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-50978.json"