In short
- CVE-2022-25295 is a MEDIUM (CVSS 5.4) vulnerability affecting github.com/gophish/gophish, gophish (getgophish).
- Chance of exploitation in the next 30 days (EPSS): 0.69%, higher than 52.7% of all vulnerabilities.
- Fix: update to 0.12.0 or later.
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.
NVD 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.
More vulnerabilities in github.com/gophish/gophish
See all →Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free