CVE-2022-25295
Dashboard / Vulnerabilities / CVE-2022-25295
CVE-2022-25295
Published: 11 Sept 2022Last Modified: 21 Oct 2026
Aliases:
Summary: Open Redirect
Details: 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.
References: https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOPHISHGOPHISH-2404177, https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25295.json, https://nvd.nist.gov/vuln/detail/CVE-2022-25295, https://github.com/gophish/gophish/pull/2262
Affected packages
Package
Name:
Purl:
Affected ranges
Affected versions
v0.11.0
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
