5.4
Medium
CVE-2022-25295 This affects the package github.com/gophish/gophish before 0.12.0
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.
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| github.com/gophish/gophish 0.12 | earliest → < 0.12.0 | 0.12.0 |