Open Redirect Affecting github.com/sourcegraph/sourcegraph-public-snapshot/cmd/frontend package, versions <3.15.1


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.26% (50th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Open Redirect vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMSOURCEGRAPHSOURCEGRAPHPUBLICSNAPSHOTCMDFRONTEND-10645541
  • published7 Jul 2025
  • disclosed30 Apr 2020
  • creditUnknown

Introduced: 30 Apr 2020

CVE-2020-12283  (opens in a new tab)
CWE-601  (opens in a new tab)

How to fix?

Upgrade github.com/sourcegraph/sourcegraph-public-snapshot/cmd/frontend to version 3.15.1 or higher.

Overview

Affected versions of this package are vulnerable to Open Redirect. The SourceGraph application 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.

References

CVSS Base Scores

version 3.1