{"id":"CVE-2018-15178","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":["GHSA-cpgw-2wxr-pww3","GO-2022-0822"],"modified":"2026-08-07T14:58:29.656799Z","published":"2018-08-08T00:29:02.583Z","references":[{"type":"ADVISORY","url":"https://github.com/gogs/gogs/pull/5365"},{"type":"EVIDENCE","url":"https://github.com/gogs/gogs/issues/5364"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gogs/gogs","events":[{"introduced":"0"},{"fixed":"f17e7d5a2c36c52a1121d2315f3d75dcd8053b89"}],"database_specific":{"cpe":"cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"0.12"}],"source":"CPE_RANGE"}}],"versions":["v0.11.91","v0.11.86","v0.11.79","v0.11.66","v0.11.53","v0.11.43","v0.11.34","v0.11.33","v0.11.29","v0.11.19","v0.11.4","v0.11","v0.11rc","v0.10.18","v0.10.8","v0.10","v0.10rc","v0.9.141","v0.9.128","v0.9.113","v0.9.97","v0.9.71","v0.9.60","v0.9.48","v0.9.46","v0.9.13","v0.9.0","v0.8.43","v0.8.25","v0.8.10","v0.8.0","v0.7.33","v0.7.22","v0.7.19","v0.7.6","v0.7.0","v0.6.15","v0.6.9","v0.6.3","v0.6.1","v0.5.13","v0.5.11","v0.5.9","v0.5.8","v0.5.5","v0.5.2","v0.5.0","v0.4.2","v0.4.1","v0.4.0","v0.3.1","v0.3.0","v0.2.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-15178.json"}}],"schema_version":"1.8.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"}]}