{"id":"CVE-2018-15178","aliases":["GHSA-cpgw-2wxr-pww3","GO-2022-0822"],"url":"https://o3.security/vulnerability/CVE-2018-15178","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.","published":"2018-08-08T00:29:02.583Z","modified":"2026-08-07T14:58:29.656799Z","cvss":{"score":6.1,"severity":"MEDIUM","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"Go","name":"gogs.io/gogs","fixedVersion":"0.12.0"}],"fix":{"url":"https://github.com/gogs/gogs/pull/5365","label":"gogs/gogs#5365"},"references":[{"type":"ADVISORY","url":"https://github.com/gogs/gogs/pull/5365"},{"type":"EVIDENCE","url":"https://github.com/gogs/gogs/issues/5364"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T14:58:29.656799Z"}}