GHSA-hvw3-p9px-gpc9MediumCVSS 5.4

Gophish before 0.12.0 vulnerable to Open Redirect

Published
September 12, 2022
Last Modified
January 27, 2023

🔗 CVE IDs covered (1)

📋 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.

🎯 Affected products1

  • go/github.com/gophish/gophish:< 0.12.0

🔗 References (6)