CVE-2022-25295
CVE-2022-25295 is a medium-severity vulnerability in Getgophish Gophish with a CVSS 3.x base score of 5.4. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-601.
Key facts
- Severity: Medium (CVSS 3.x base score 5.4)
- EPSS exploit prediction: 1% (42nd percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-601
- Affected product: Getgophish Gophish
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2022-25295?
- 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.
- How severe is CVE-2022-25295?
- CVE-2022-25295 has a CVSS 3.x base score of 5.4, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is low, integrity low, and availability none.
- Is CVE-2022-25295 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (42nd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2022-25295?
- CVE-2022-25295 affects Getgophish Gophish. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2022-25295?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2022-25295 published?
- CVE-2022-25295 was published on 2022-09-11 and last updated on 2026-06-17.
References
- https://github.com/gophish/gophish/pull/2262
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOPHISHGOPHISH-2404177
Affected products (1)
- cpe:2.3:a:getgophish:gophish:*:*:*:*:*:*:*:*
More vulnerabilities in Getgophish Gophish
- CVE-2020-24707 — High (CVSS 7.8): Gophish before 0.11.0 allows the creation of CSV sheets that contain malicious content.
- CVE-2025-70963 — High (CVSS 7.6): Gophish <=0.12.1 is vulnerable to Incorrect Access Control. The administrative dashboard exposes each user’s…
- CVE-2022-45003 — High (CVSS 7.5): Gophish through 0.12.1 allows attackers to cause a Denial of Service (DoS) via a crafted payload involving autofocus.
- CVE-2020-24713 — High (CVSS 7.5): Gophish through 0.10.1 does not invalidate the gophish cookie upon logout.
- CVE-2020-24711 — Medium (CVSS 6.5): The Reset button on the Account Settings page in Gophish before 0.11.0 allows attackers to cause a denial of service…
- CVE-2022-45004 — Medium (CVSS 6.1): Gophish through 0.12.1 was discovered to contain a cross-site scripting (XSS) vulnerability via a crafted landing page.
All CVEs affecting Getgophish Gophish →
Other CWE-601 (Open Redirect) vulnerabilities
- CVE-2018-3774 — Critical (CVSS 10.0): Incorrect parsing in url-parse <1.4.3 returns wrong hostname which leads to multiple vulnerabilities such as SSRF, Open…
- CVE-2019-25282 — Critical (CVSS 9.8): V-SOL GPON/EPON OLT Platform v2.03 contains an open redirect vulnerability in the script that allows attackers to…
- CVE-2020-36912 — Critical (CVSS 9.8): Plexus anblick Digital Signage Management 3.1.13 contains an open redirect vulnerability in the 'PantallaLogin' script…
- CVE-2025-43526 — Critical (CVSS 9.8): This issue was addressed with improved URL validation. This issue is fixed in Safari 26.2, macOS Tahoe 26.2. On a Mac…
- CVE-2025-55031 — Critical (CVSS 9.8): Malicious pages could use Firefox for iOS to pass FIDO: links to the OS and trigger the hybrid passkey transport. An…
- CVE-2024-22891 — Critical (CVSS 9.8): Nteract v.0.28.0 was discovered to contain a remote code execution (RCE) vulnerability via the Markdown link.