# CVE-2022-25295: GO-2022-0987 - Gophish before 0.12.0 vulnerable to Open Redirect in github.com/gophish/gophish

Source: https://junglewise.ai/threats/cve-2022-25295-gophish-before-0-12-0-vulnerable-to-open-redirect  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-08-21  
License: CC BY 4.0 with a link back

CVE-2022-25295 · Severity: low · CVSS 3.1 · Published 2024-08-21

Gophish before 0.12.0 vulnerable to Open Redirect in github.com/gophish/gophish

Technologies: [github.com/gophish/gophish (Go)](https://junglewise.ai/threats/technologies/github-com-gophish-gophish). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2022-25295 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-25295 being exploited in the wild.

**How severe is CVE-2022-25295?** Low severity, with a CVSS score of 3.1, published 21 August 2024.

**Which products and versions are affected?** github.com/gophish/gophish (Go) SEMVER:introduced=0,fixed=0.12.0.

**Is there a fix for CVE-2022-25295?** Yes. github.com/gophish/gophish (Go): upgrade to 0.12.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-25295?** Check whether you run github.com/gophish/gophish (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/gophish/gophish (Go): upgrade to 0.12.0 or later

  ```sh
  go get github.com/gophish/gophish@v0.12.0
  ```


## Affected products

- github.com/gophish/gophish (Go) SEMVER:introduced=0,fixed=0.12.0

## Identifiers

- CVE-2022-25295
- GHSA-hvw3-p9px-gpc9
- GO-2022-0987

## Related threats

- [Gophish denial of service via Office document upload in ApplyTemplate](https://junglewise.ai/threats/cve-2026-39904-gophish-denial-of-service-via-office-document-upload-in)
- [GO-2026-4455 - Gophish is vulnerable to Incorrect Access Control in github.com/gophish/gophish](https://junglewise.ai/threats/cve-2025-70963-gophish-is-vulnerable-to-incorrect-access-control)
- [GO-2025-3361 - GoPhish sends cleartext passwords in github.com/gophish/gophish](https://junglewise.ai/threats/cve-2024-55196-gophish-sends-cleartext-passwords)
- [GO-2023-1982 - Gophish vulnerable to Server-Side Request Forgery in github.com/gophish/gophish](https://junglewise.ai/threats/cve-2020-24710-gophish-vulnerable-to-server-side-request-forgery)
- [GO-2023-1936 - Gophish XSS Vulnerability in github.com/gophish/gophish](https://junglewise.ai/threats/cve-2019-16146-gophish-xss-vulnerability)
