Skip to content

CVE-2022-25295 Open Redirect

MediumCVSS 5.4 EPSS 0.70%
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
getgophish gophish < 0.12.0 0.12.0 Fixed
gophish(Go) < 0.12.0 0.12.0 Fixed

Affected products

ProductAffected versionsFixed in
gophish(Go) < 0.12.0 0.12.0
getgophish gophish < 0.12.0 0.12.0

References