{"cve":"CVE-2018-15178","nvd":{"published":"2018-08-08T00:29:02.583","modified":"2026-06-17T01:42:11.087","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-601"],"references":["https://github.com/gogs/gogs/issues/5364","https://github.com/gogs/gogs/pull/5365","https://github.com/gogs/gogs/issues/5364","https://github.com/gogs/gogs/pull/5365"],"products":["gogs:gogs"],"source":"nvd","synced_at":"2026-10-19T20:52:03.425131697+00:00"},"epss":{"cve":"CVE-2018-15178","score":0.01316,"percentile":0.70779,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-cpgw-2wxr-pww3","url":"https://osv.dev/vulnerability/GHSA-cpgw-2wxr-pww3","summary":"Open Redirect","modified":"2024-08-21T15:58:35.052113Z","packages":[{"ecosystem":"Go","name":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","ranges":["<0.12.0"],"fixed":["0.12.0"]}]},{"id":"GO-2022-0822","url":"https://osv.dev/vulnerability/GO-2022-0822","summary":"Open Redirect in gogs.io/gogs","modified":"2026-03-03T04:50:56.935378Z","packages":[{"ecosystem":"Go","name":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","ranges":["<0.12.0"],"fixed":["0.12.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}