CVE-2025-50978

MEDIUM

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

Affects 1 product across 1 vendor.

CVSS 3.16.1
EPSS0.3%
Percentile19th
PatchUnknown
CVSS Vector — Plain English Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, can impact systems beyond the vulnerable component, no availability impact.
CWE Weakness Definitions
CWE-79: Cross-Site Scripting (XSS)

Attacker injects malicious scripts into web pages viewed by other users, executing in the victim's browser context.

Related Attack Patterns (CAPEC)
CAPEC-85 AJAX Footprinting
via CWE-79
CAPEC-209 XSS Using MIME Type Mismatch
via CWE-79
CAPEC-588 DOM-Based XSS
via CWE-79
CAPEC-591 Reflected XSS
via CWE-79
CAPEC-592 Stored XSS
via CWE-79
Show all 6
via CWE-79

Mapping is CWE-to-CAPEC per MITRE CAPEC 3.9.

◆ AI Analysis — automated analysis, not human-reviewed

Gitblit v1.7.1 contains a reflected cross-site scripting (XSS) vulnerability due to insufficient input sanitization of repository path names, allowing attackers to execute arbitrary JavaScript in a victim's browser.

BSID: BS-2025-GLOBAL-273036-M • Model: /workspace/models/qwen2.5-coder-32b-instruct-bf16 • Confidence: MEDIUM

Is this CVE in your environment?

BreachSpider monitors your ICS/OT environment for vulnerabilities like this one. No agents or network access required. Free to start.

Check My Environment →
Frequently Asked Questions
What is CVE-2025-50978?
Gitblit v1.7.1 contains a reflected cross-site scripting (XSS) vulnerability due to insufficient input sanitization of repository path names, allowing attackers to execute arbitrary JavaScript in a victim's browser.
What is the CVSS score for CVE-2025-50978?
CVE-2025-50978 has CVSS 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N. EPSS: 0.3%.
Is CVE-2025-50978 actively exploited?
No confirmed active exploitation of CVE-2025-50978 as of 2026-05-30.
How do I remediate CVE-2025-50978?
Priority: HIGH.
What systems are affected by CVE-2025-50978?
CVE-2025-50978 affects Gitblit Gitblit.
Vulnerability Details
CVE IDCVE-2025-50978
BSIDBS-2025-GLOBAL-273036-M BreachSpider Global ID
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Published2025-08-27
Last Modified2025-09-09
ICS Relevance0%
Weakness (CWE)
SourceNVD
Official 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.

Source: NIST NVD / MITRE CVE Database

Attack Vector Analysis — CITED Relevance

An attacker can craft a malicious URL with a specially designed repository path payload. When a victim visits this URL, the malicious script embedded in the path is executed in their browser, potentially leading to unauthorized actions or data theft.

Exploitation Likelihood: MEDIUM

Affected Products
VendorProductAffected Versions
Gitblit Gitblit 1.7.1
Remediation

No official vendor advisory link on record. See the CVE record →

Threat Intelligence
● Threat Intelligence Validated: October 2026 | Threat Age: 414 Days
CISA known-exploitedNot in KEV catalog
Public ExploitNot confirmed
PoC CodeNot confirmed
AI Enrichment Record — provenance & audit hash
Model/workspace/models/qwen2.5-coder-32b-instruct-bf16
ConfidenceMEDIUM
Enriched At2026-05-24
SHA-512 Audit Hash34a7b9f7bf5ac7c4f194ca98574da138f385d3aa11899109554227e7746bb73c561b2e195f929f792ab4b74fc1918b2660fa7c02cd60a056126a365233249f7a
Related CVEs affecting Gitblit
CVE-2022-31267 9.8 Gitblit 1.9.2 allows privilege escalation via the Config User Service: a cont... CVE-2022-31268 7.5 A Path Traversal vulnerability in Gitblit 1.9.3 can lead to reading website f... CVE-2025-50977 6.1 A template injection vulnerability leading to reflected cross-site scripting ...
View all Gitblit CVEs →

ICS/OT Vulnerability Intelligence for Your Environment

BreachSpider tracks 384,000+ CVEs and matches them to your ICS/OT assets by exact version, with AI analysis, NERC CIP mapping, and vendor PSIRT contacts.

Create a free account →