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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-50971Directory traversal vulnerability in AbanteCart version 1.4.…7.5
- CVE-2025-50972SQL Injection vulnerability in AbanteCart 1.4.2, allows unau…9.8
- CVE-2025-50974The Calamaris log exporter CGI (/cgi-bin/logs.cgi/calamaris.…6.5
- CVE-2025-50975IPFire 2.29 web-based firewall interface (firewall.cgi) fail…5.4
- CVE-2025-50976IPFire 2.29 DNS management interface (dns.cgi) fails to prop…6.1
- CVE-2025-50977A template injection vulnerability leading to reflected cros…6.1
- CVE-2025-50979NodeBB v4.3.0 is vulnerable to SQL injection in its search-c…8.6
- CVE-2025-5098PrinterShare Android application allows the capture of Gmail…9.1
- CVE-2025-50983SQL Injection vulnerability exists in the sortKey parameter …8.3
- CVE-2025-50984diskover-web v2.3.0 Community Edition is vulnerable to multi…5.3
- CVE-2025-50985diskover-web v2.3.0 Community Edition is vulnerable to multi…5.6
- CVE-2025-50986diskover-web v2.3.0 Community Edition suffers from multiple …5.6
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
