CVE-2022-25295

Open Redirect

State
Published
Severity
5.4 Medium
Published
Sep 11, 2022
Updated
Sep 16, 2024
Reserved
Feb 16, 2022

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.4 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P/RL:U/RC:Csnyk

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
github.com/gophish/gophishn/a
  • before 0.12.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.