~ / search / GHSA-hvw3-p9px-gpc9

GHSA-hvw3-p9px-gpc9

Gophish before 0.12.0 vulnerable to Open Redirect

Source: GitHub Advisory Database (reviewed) Moderate CVE-2022-25295

Packages

EcosystemPackageAffectedFixed in
Go github.com/gophish/gophish < 0.12.0 0.12.0

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.