CVE-2022-25295

Open Redirect

Published Sep 11, 2022 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-6843 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.
Github GHSA Github GHSA GHSA-hvw3-p9px-gpc9 Gophish before 0.12.0 vulnerable to Open Redirect
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Sep 16, 2024, 5:29 PM
Reserved
Feb 16, 2022, 12:00 AM
Status
Modified
Published
Sep 11, 2022, 2:15 PM
Modified
Jun 17, 2026, 4:33 AM