{"id":"CVE-2022-25295","details":"This affects the package github.com/gophish/gophish before 0.12.0. The Open Redirect vulnerability exists in the next query parameter. The application uses url.Parse(r.FormValue(\"next\")) to extract path and eventually redirect user to a relative URL, but if next parameter starts with multiple backslashes like \\\\\\\\\\\\example.com, browser will redirect user to http://example.com.","aliases":["GHSA-hvw3-p9px-gpc9","GO-2022-0987"],"modified":"2026-03-14T11:38:24.333641Z","published":"2022-09-11T14:15:08.803Z","references":[{"type":"FIX","url":"https://github.com/gophish/gophish/pull/2262"},{"type":"EVIDENCE","url":"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOPHISHGOPHISH-2404177"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gophish/gophish","events":[{"introduced":"0"},{"fixed":"6b61426aabc237398ae465ca6921c6d3d653e3c2"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"0.12.0"}]}}],"versions":["0.7.1","v0.1","v0.1.1","v0.1.2","v0.10.0","v0.10.1","v0.11.0","v0.2.0","v0.3.0","v0.4.0","v0.5.0","v0.6.0","v0.7.0","v0.8.0","v0.9.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-25295.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"}]}