{"cve":"CVE-2020-12283","nvd":{"published":"2020-04-30T05:15:11.947","modified":"2026-06-17T02:51:33.960","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-601"],"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"],"products":["sourcegraph:sourcegraph"],"source":"nvd","synced_at":"2026-10-19T21:04:18.695612450+00:00"},"epss":{"cve":"CVE-2020-12283","score":0.01333,"percentile":0.71125,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-mx43-r985-5h4m","url":"https://osv.dev/vulnerability/GHSA-mx43-r985-5h4m","summary":"Open redirect vulnerability in Sourcegraph","modified":"2023-11-08T04:02:09.885872Z","packages":[{"ecosystem":"Go","name":"github.com/sourcegraph/sourcegraph","purl":"pkg:golang/github.com/sourcegraph/sourcegraph","ranges":["<3.14.4"],"fixed":["3.14.4"]},{"ecosystem":"Go","name":"github.com/sourcegraph/sourcegraph","purl":"pkg:golang/github.com/sourcegraph/sourcegraph","ranges":[">=3.15.0 <3.15.1"],"fixed":["3.15.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}