Open Redirect in Getgophish Gophish

CVE-2022-25295

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.

Vulnerability class: Open Redirect

EPSS: 0.006 (43.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-25295?
CVE-2022-25295 is a medium-severity vulnerability in Getgophish Gophish, classified under URL Redirection to Untrusted Site (Open Redirect). CVSS score: 5.4/10. Published 2022-09-11.
How severe is CVE-2022-25295?
Medium severity. CVSS v3 base score is 5.4 out of 10.