CVE-2025-50978
Last modified
CVE-2025-50978 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 0.26% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gitblit | Gitblit | 1.7.1 |
References
- https://github.com/4rdr/proofs/blob/main/info/gitblit-v1.7.1-reflected-XSS-via-filenames.mdExploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-50978?
How severe is CVE-2025-50978?
How do I fix CVE-2025-50978?
Are you affected by CVE-2025-50978?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
