CVE-2022-25295
mediumpriority · track · 22EPSS 0.007 · 53 %ileEUUSEPSS · scored 2026-10-28
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-hvw3-p9px-gpc9Gophish before 0.12.0 vulnerable to Open Redirect2022-09-12ghsa · osvUS
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.
- GO-2022-0987Gophish before 0.12.0 vulnerable to Open Redirect in github.com/gophish/gophish2024-08-21vendor · osvUS
Gophish before 0.12.0 vulnerable to Open Redirect in github.com/gophish/gophish
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2022-25295/cnnvd
- https://github.com/gophish/gophish/pull/2262cnnvd
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOPHISHGOPHISH-2404177cnnvd
- https://github.com/gophish/gophish/pull/2262enisa_euvd
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOPHISHGOPHISH-2404177enisa_euvd
- https://github.com/gophish/gophish/pull/2262PatchThird Party Advisorynvd
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOPHISHGOPHISH-2404177ExploitThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan