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

Published · last modified .

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.

EPSS exploit prediction

EPSS: 0.007 (50.8th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 51st percentile — 50.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2022-25295: held from 0.006 to 0.007.

EPSS over last 30 days · oldest: 0.006 · newest: 0.007 · change: +0.001

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.