All reports
Medium

Gophish before 0.12.0 vulnerable to Open Redirect

Affected versions

Version ranges need review.

Affected versions
< 0.12.0
Fixed version
0.12.0
Affected versions
<0.12.0
Fixed version
0.12.0

Exploitation

CVE-2022-25295

Probability of exploitation in the next 30 days: 0.70%

FIRST EPSS · 2026-11-22

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.

Links