CVE-2022-25295: Getgophish Gophish

Medium severity, CVSS 5.4. EPSS: 0.7% chance of exploitation in the next 30 days.

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

  • Getgophish Gophish: before 0.12.0 (fixed in 0.12.0)

Published 2022-09-11. Last modified 2026-06-17.