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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Tue, 09 Sep 2025 19:00:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:gitblit:gitblit:1.7.1:*:*:*:*:*:*:*

Wed, 27 Aug 2025 22:00:00 +0000

Type Values Removed Values Added
First Time appeared Gitblit
Gitblit gitblit
Vendors & Products Gitblit
Gitblit gitblit

Wed, 27 Aug 2025 17:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-79
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 27 Aug 2025 15:45:00 +0000

Type Values Removed Values Added
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.
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2025-08-27T16:22:57.196Z

Reserved: 2025-06-16T00:00:00.000Z

Link: CVE-2025-50978

cve-icon Vulnrichment

Updated: 2025-08-27T16:22:53.425Z

cve-icon NVD

Status : Analyzed

Published: 2025-08-27T16:15:35.633

Modified: 2025-09-09T18:52:53.970

Link: CVE-2025-50978

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2025-08-27T21:57:32Z