VULNERABILITY INTELLIGENCE
CVE-2022-25295
CVSS score5.4 MEDIUM
EPSS probability0.69%
CISA KEVNot currently listed
Published2022-09-11
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
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.
Weakness classification
- CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
Primary references
- report@snyk.io — Patch, Third Party Advisory
- report@snyk.io — Exploit, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Patch, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Third Party Advisory