Sourcegraph before 3.15.1 has a vulnerable authentication workflow because of improper validation in the SafeRedirectURL method in cmd/frontend/auth/redirect.go, such as for the //foo//example.com substring.
https://github.com/sourcegraph/sourcegraph/pull/10167
https://github.com/sourcegraph/sourcegraph/compare/v3.15.0...v3.15.1
https://github.com/sourcegraph/sourcegraph/commit/c0f48172e815c7f66471a38f0a06d1fc32a77a64
https://github.com/sourcegraph/sourcegraph/blob/master/CHANGELOG.md
https://securitylab.github.com/advisories/GHSL-2020-085-sourcegraph
Source: Mitre, NVD
Published: 2020-04-30
Updated: 2026-06-17
Base Score: 5.8
Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:N
Severity: Medium
Base Score: 6.1
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS: 0.00257