{"id":"CVE-2018-15178","published":"2018-08-08T00:00:00Z","modified":"2024-08-05T09:46:25Z","title":"Open redirect vulnerability in Gogs before 0.12 allows remote attackers to redirect users to arbitrary websites and…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01316,"percentile":0.71487,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/gogs/gogs/issues/5364","tags":["x_refsource_MISC"]},{"url":"https://github.com/gogs/gogs/pull/5365","tags":["x_refsource_MISC"]}],"priority":{"score":14.3,"factors":[{"name":"EPSS percentile","points":14.3}]},"affected":[{"ecosystem":"Go","package":"gogs.io/gogs","vulnerableRanges":["<0.12.0"],"patched":["0.12.0"],"from":["GHSA-cpgw-2wxr-pww3","GO-2022-0822"],"provenance":"source"}],"summary":{"text":"The open redirect flaw lies in Gogs before 0.12, in the user login handling, specifically the isValidRedirect function in routes/user/auth.go, which fails to properly validate the redirect_to parameter.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:49:56Z"},"euvd":{"id":"EUVD-2021-1312","exploited":false,"provenance":"source"}}