{"id":"CVE-2025-50978","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.","modified":"2026-04-10T05:29:18.539782Z","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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gitblit-org/gitblit","events":[{"introduced":"0"},{"last_affected":"390909105f3323b24a7cc19ec1efe4bb099cfa76"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"1.7.1"}]}}],"versions":["v0.5.0","v0.5.1","v0.5.2","v0.6.0","v0.7.0","v0.8.0","v0.8.1","v0.8.2","v0.9.0","v0.9.1","v0.9.2","v0.9.3","v1.0.0","v1.1.0","v1.3.0","v1.3.1","v1.3.2","v1.4.0","v1.4.1","v1.5.0","v1.5.1","v1.7.0","v1.7.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-50978.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}