XSS in Gitblit
CVE-2025-50978
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.003 (18.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 19th percentile — 18.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000
Affected products
- Gitblit — versions 1.7.1
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/4rdr/proofs/blob/main/info/gitblit-v1.7.1-reflected-XSS-via-filename… (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2025-50978?
- CVE-2025-50978 is a medium-severity vulnerability in Gitblit, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2025-08-27.
- How severe is CVE-2025-50978?
- Medium severity. CVSS v3 base score is 6.1 out of 10.
- Is CVE-2025-50978 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.