CVE-2020-12283
MEDIUM 6.1CVSS 3.1Open redirect vulnerability in Sourcegraph
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.
- Published
- 30 Apr 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-601
- Also known as
- GHSA-mx43-r985-5h4m
- Sources
- NVDJSONOSV GHSA-mx43-r985-5h4mJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.8 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | sourcegraph | sourcegraphcpe:2.3:a:sourcegraph:sourcegraph:*:*:*:*:*:*:*:* |
< 3.15.1 | 3.15.1 |
| OSV | Go | github.com/sourcegraph/sourcegraph | < 3.14.4 | 3.14.4 |
| OSV | Go | github.com/sourcegraph/sourcegraph | >= 3.15.0, < 3.15.1 | 3.15.1 |
References
- https://github.com/sourcegraph/sourcegraph/blob/master/CHANGELOG.md · Release Notes, Third Party Advisory, WEB
- https://github.com/sourcegraph/sourcegraph/commit/c0f48172e815c7f66471a38f0a06d1fc32a77a64 · Patch, Third Party Advisory, WEB
- https://github.com/sourcegraph/sourcegraph/compare/v3.15.0...v3.15.1 · Release Notes, Third Party Advisory, WEB
- https://github.com/sourcegraph/sourcegraph/pull/10167 · Patch, Third Party Advisory, WEB
- https://securitylab.github.com/advisories/GHSL-2020-085-sourcegraph · Exploit, Third Party Advisory, ADVISORY
- https://github.com/sourcegraph/sourcegraph/security/advisories/GHSA-mx43-r985-5h4m · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-12283 · ADVISORY
- https://github.com/sourcegraph/sourcegraph · PACKAGE
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 30 Apr 2020)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 20 Dec 2021)