Skip to content
OpenAdvisories
Medium · 5.4 CVE-2022-25295 EUVD-2022-6843GHSA-hvw3-p9px-gpc9GO-2022-0987

Open Redirect

Published Sep 11, 2022 · Updated Sep 16, 2024 · Assigned by snyk

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

VendorProductAffectedFixed
— github.com/gophish/gophish unspecified – < 0.12.0 0.12.0

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/gophish/gophish < 0.12.0 0.12.0 GHSA-hvw3-p9px-gpc9

References