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-27T16:15:35.633Z
Modified
2026-04-10T05:29:18.539782Z
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.

References

Affected packages

Git / github.com/gitblit-org/gitblit

Affected ranges

Type
GIT
Repo
https://github.com/gitblit-org/gitblit
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.7.1"
        }
    ]
}

Affected versions

v0.*
v0.5.0
v0.5.1
v0.5.2
v0.6.0
v0.7.0
v0.8.0
v0.8.1
v0.8.2
v0.9.0
v0.9.1
v0.9.2
v0.9.3
v1.*
v1.0.0
v1.1.0
v1.3.0
v1.3.1
v1.3.2
v1.4.0
v1.4.1
v1.5.0
v1.5.1
v1.7.0
v1.7.1

Database specific

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