Open redirect in github.com/gophish/gophish
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Spoofing
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-601.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | github.com/gophish/gophish | before 0.12.0 | 0.12.0 | Patch available | CNA |
| — | github.com/gophish/gophish (Go) | before 0.12.0 | 0.12.0 | Patch available | GHSA-hvw3-p9px-gpc9 |
- github.com/gophish/gophish Vendor— Affected before 0.12.0 Fixed in 0.12.0 Patch available CNA
- github.com/gophish/gophish (Go) Vendor— Affected before 0.12.0 Fixed in 0.12.0 Patch available GHSA-hvw3-p9px-gpc9
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:getgophish:gophish:*:*:*:*:*:*:*:* | before 0.12.0 | Vulnerable | Getgophish |
- cpe:2.3:a:getgophish:gophish:*:*:*:*:*:*:*:* Versions before 0.12.0 Vulnerable ·Getgophish
Remediation
- Fix · CNA github.com/gophish/gophish Fixed in 0.12.0
- Fix · GHSA-hvw3-p9px-gpc9 github.com/gophish/gophish (Go) Fixed in 0.12.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-25295
- 2026-10-03 Alias added: GHSA-hvw3-p9px-gpc9
References
More Getgophish Gophish vulnerabilities
- TI-2022-22115 Gophish through 0.12.1 allows attackers to cause a Denial of Service (DoS) via a crafted payload involving autofocus. CVSS 3.1HIGH 7.5
- TI-2025-43176 Gophish <=0.12.1 is vulnerable to Incorrect Access Control. CVSS 3.1HIGH 7.6
- TI-2022-22116 Gophish through 0.12.1 was discovered to contain a cross-site scripting (XSS) vulnerability via a crafted landing page. CVSS 3.1MEDIUM 6.1
- TI-2020-15165 Gophish before 0.11.0 allows the creation of CSV sheets that contain malicious content. CVSS 3.1HIGH 7.8
- TI-2020-15171 Gophish through 0.10.1 does not invalidate the gophish cookie upon logout. CVSS 3.1HIGH 7.5
- TI-2020-15169 The Reset button on the Account Settings page in Gophish before 0.11.0 allows attackers… CVSS 3.1MEDIUM 6.5
Sources
- CVE-2022-25295 · CVE Program
- CVE-2022-25295 · NVD
- FIRST EPSS
- GHSA-hvw3-p9px-gpc9 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences