{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2020-12283","published":"2020-04-30T05:15:11.947000Z","last_modified":"2026-06-17T02:51:33.960000Z","status":"Modified","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-601"],"cpes":[{"criteria":"cpe:2.3:a:sourcegraph:sourcegraph:*:*:*:*:*:*:*:*","part":"a","vendor":"sourcegraph","product":"sourcegraph","version_end_excluding":"3.15.1"}],"cpes_truncated":false,"vendors":["sourcegraph"],"products":["sourcegraph/sourcegraph"],"epss":{"score":0.01333,"percentile":0.7128,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-mx43-r985-5h4m","ecosystem":"Go","name":"github.com/sourcegraph/sourcegraph","purl":"pkg:golang/github.com/sourcegraph/sourcegraph","ranges":[{"introduced":"0","fixed":"3.14.4"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-mx43-r985-5h4m","ecosystem":"Go","name":"github.com/sourcegraph/sourcegraph","purl":"pkg:golang/github.com/sourcegraph/sourcegraph","ranges":[{"introduced":"3.15.0","fixed":"3.15.1"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2020-12283/","html_en":"/en/cve/CVE-2020-12283/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-12283","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-12283"},"untrusted":{"vendor_name":"Sourcegraph","product_name":"Sourcegraph","desc_en":"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":[],"references":[{"url":"https://github.com/sourcegraph/sourcegraph/blob/master/CHANGELOG.md","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/sourcegraph/sourcegraph/commit/c0f48172e815c7f66471a38f0a06d1fc32a77a64","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/sourcegraph/sourcegraph/compare/v3.15.0...v3.15.1","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/sourcegraph/sourcegraph/pull/10167","tags":["Patch","Third Party Advisory"]},{"url":"https://securitylab.github.com/advisories/GHSL-2020-085-sourcegraph","tags":["Exploit","Third Party Advisory"]}]}}