{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "1.7.1"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "390909105f3323b24a7cc19ec1efe4bb099cfa76"
            }
          ],
          "repo": "https://github.com/gitblit-org/gitblit",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "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.",
  "id": "CVE-2025-50978",
  "modified": "2026-03-10T21:48:18.186947983Z",
  "published": "2025-08-27T16:15:35.633Z",
  "references": [
    {
      "type": "EVIDENCE",
      "url": "https://github.com/4rdr/proofs/blob/main/info/gitblit-v1.7.1-reflected-XSS-via-filenames.md"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}