{"cve":"CVE-2022-25295","nvd":{"published":"2022-09-11T14:15:08.803","modified":"2026-06-17T04:33:20.420","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4},"cwes":["CWE-601"],"references":["https://github.com/gophish/gophish/pull/2262","https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOPHISHGOPHISH-2404177","https://github.com/gophish/gophish/pull/2262","https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOPHISHGOPHISH-2404177"],"products":["getgophish:gophish"],"source":"nvd","synced_at":"2026-10-19T21:35:14.992143698+00:00"},"epss":{"cve":"CVE-2022-25295","score":0.00687,"percentile":0.52709,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-hvw3-p9px-gpc9","url":"https://osv.dev/vulnerability/GHSA-hvw3-p9px-gpc9","summary":"Gophish before 0.12.0 vulnerable to Open Redirect","modified":"2024-08-21T16:28:58.334873Z","packages":[{"ecosystem":"Go","name":"github.com/gophish/gophish","purl":"pkg:golang/github.com/gophish/gophish","ranges":["<0.12.0"],"fixed":["0.12.0"]}]},{"id":"GO-2022-0987","url":"https://osv.dev/vulnerability/GO-2022-0987","summary":"Gophish before 0.12.0 vulnerable to Open Redirect in github.com/gophish/gophish","modified":"2026-03-03T04:52:33.784424Z","packages":[{"ecosystem":"Go","name":"github.com/gophish/gophish","purl":"pkg:golang/github.com/gophish/gophish","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."]}