GHSA-hvw3-p9px-gpc9

Suggest an improvement
Source
https://github.com/advisories/GHSA-hvw3-p9px-gpc9
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/09/GHSA-hvw3-p9px-gpc9/GHSA-hvw3-p9px-gpc9.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-hvw3-p9px-gpc9
Aliases
Published
2022-09-12T00:00:33Z
Modified
2023-11-08T04:08:45.495777Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N CVSS Calculator
Summary
Gophish before 0.12.0 vulnerable to 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

Affected packages

Go / github.com/gophish/gophish

Package

Name
github.com/gophish/gophish
View open source insights on deps.dev
Purl
pkg:golang/github.com/gophish/gophish

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.12.0