Open Redirect The advisory has been revoked - it doesn't affect any version of package github.com/gophish/gophish  (opens in a new tab)


Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.07% (32nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Open Redirect vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMGOPHISHGOPHISH-2404177
  • published17 Feb 2022
  • disclosed17 Feb 2022
  • creditSnyk Security Team

Introduced: 17 Feb 2022

CVE-2022-25295  (opens in a new tab)
CWE-601  (opens in a new tab)
First added by Snyk

Amendment

This was deemed not a vulnerability.

Overview

Affected versions of this package are vulnerable to Open Redirect. 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.