{"id":"GHSA-cpgw-2wxr-pww3","summary":"Open Redirect","details":"Open redirect vulnerability in Gogs before 0.12 allows remote attackers to redirect users to arbitrary websites and conduct phishing attacks via an initial /\\ substring in the user/login redirect_to parameter, related to the function isValidRedirect in routes/user/auth.go.","aliases":["CVE-2018-15178","GO-2022-0822"],"modified":"2024-08-21T15:58:35.052113Z","published":"2021-06-29T18:32:39Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2021-05-20T20:55:39Z","nvd_published_at":null,"cwe_ids":["CWE-601"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-15178"},{"type":"WEB","url":"https://github.com/gogs/gogs/issues/5364"},{"type":"WEB","url":"https://github.com/gogs/gogs/pull/5365"},{"type":"WEB","url":"https://github.com/gogs/gogs/commit/1f247cf8139cb483276cd8dd06385a800ce9d4b2"}],"affected":[{"package":{"name":"gogs.io/gogs","ecosystem":"Go","purl":"pkg:golang/gogs.io/gogs"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.12.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-cpgw-2wxr-pww3/GHSA-cpgw-2wxr-pww3.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}