Skip to main content
VulnerabilityPublished

CVE-2025-50978: Gitblit · Cross-site Scripting

Source CVE Database V5

0

Not known to be exploited · CVSS 6.1 Medium.

Data as of 26 Oct 2026, 16:39 UTC

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 20% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Aug 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

AI-suggested

European organizations should take the following specific steps to mitigate this vulnerability: 1) Immediately review and restrict public access to Gitblit web interfaces, especially those exposed to the internet. 2) Implement strict input validation and output encoding on repository path parameters if custom modifications or proxy layers are used. 3) Educate users and developers about the risks of clicking untrusted links and implement email and web filtering to detect and block phishing attempts containing malicious URLs targeting Gitblit. 4) Monitor web server and application logs for suspicious URL patterns that may indicate attempted exploitation. 5) Deploy web application firewalls (WAFs) with rules to detect and block reflected XSS payloads targeting Gitblit paths. 6) Segregate Gitblit instances within secure network zones and enforce strong authentication mechanisms such as multi-factor authentication (MFA) to limit the impact of session hijacking. 7) Stay alert for official patches or updates from Gitblit maintainers and plan for prompt application once available. 8) Consider temporary alternatives or upgrades to newer, unaffected Git management platforms if feasible. These measures go beyond generic advice by focusing on access control, user awareness, monitoring, and layered defenses tailored to the specific vulnerability vector.

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

Community reviews

Loading reviews…