What’s Vulnerable › Vulnerabilities
CVE-2020-12283
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2020-04-30 · updated 2026-06-17
- Weakness: CWE-601
Description
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.
Affected products
- sourcegraph: before 3.15.1 — fixed in 3.15.1
How to fix
Upgrade to a fixed version: sourcegraph 3.15.1. Check the vendor advisory for mitigations.
References
- https://github.com/sourcegraph/sourcegraph/blob/master/CHANGELOG.md
- https://github.com/sourcegraph/sourcegraph/commit/c0f48172e815c7f66471a38f0a06d1fc32a77a64
- https://github.com/sourcegraph/sourcegraph/compare/v3.15.0...v3.15.1
- https://github.com/sourcegraph/sourcegraph/pull/10167
- https://securitylab.github.com/advisories/GHSL-2020-085-sourcegraph
- https://github.com/sourcegraph/sourcegraph/blob/master/CHANGELOG.md
- https://github.com/sourcegraph/sourcegraph/commit/c0f48172e815c7f66471a38f0a06d1fc32a77a64
- https://github.com/sourcegraph/sourcegraph/compare/v3.15.0...v3.15.1
- https://github.com/sourcegraph/sourcegraph/pull/10167
- https://securitylab.github.com/advisories/GHSL-2020-085-sourcegraph
Get alerted when CVE-2020-12283 or the next vulnerability affects your stack