Live threats

All CVEs / Getgophish

CVE-2022-25295Getgophish Gophish

Medium 5.4 No auth needed

Priority
47
CVSS 3.1
5.4
EPSS
0.7%
probability of exploitation in 30 days · percentile 49
Auth required
No
Published
Sep 11, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-601
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Gophish.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/gophish/gophish < 0.12.0 0.12.0 go get github.com/gophish/gophish@v0.12.0
Go github.com/gophish/gophish < 0.12.0 0.12.0 go get github.com/gophish/gophish@v0.12.0

Per OSV / GitHub Advisories (GHSA-hvw3-p9px-gpc9, GO-2022-0987). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
getgophishgophish< 0.12.0

Official sources

References

Links published by the sources. Open them with care.