{"id":"CVE-2022-25295","summary":"Open Redirect","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-08-12T03:51:14.303400424Z","published":"2022-09-11T13:45:20.564Z","database_specific":{"cna_assigner":"snyk","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25295.json"},"references":[{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOPHISHGOPHISH-2404177"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25295.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25295"},{"type":"FIX","url":"https://github.com/gophish/gophish/pull/2262"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gophish/gophish","events":[{"introduced":"0"},{"fixed":"6b61426aabc237398ae465ca6921c6d3d653e3c2"}],"database_specific":{"cpe":"cpe:2.3:a:getgophish:gophish:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"0.12.0"}],"source":["AFFECTED_FIELD","CPE_RANGE"]}}],"versions":["v0.11.0","v0.10.1","v0.10.0","v0.9.0","v0.8.0","0.7.1","v0.7.0","v0.6.0","v0.5.0","v0.4.0","v0.3.0","v0.2.0","v0.1.2","v0.1.1","v0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-25295.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P/RL:U/RC:C"}]}