CVE-2022-25295

Source
https://cve.org/CVERecord?id=CVE-2022-25295
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-25295.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-25295
Aliases
Published
2022-09-11T13:45:20.564Z
Modified
2026-07-15T01:48:58.562616808Z
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/E:P/RL:U/RC:C CVSS Calculator
Summary
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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25295.json",
    "cna_assigner": "snyk"
}
References

Affected packages

Git / github.com/gophish/gophish

Affected ranges

Type
GIT
Repo
https://github.com/gophish/gophish
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "cpe": "cpe:2.3:a:getgophish:gophish:*:*:*:*:*:*:*:*",
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "0.12.0"
        }
    ]
}

Affected versions

0.*
0.7.1
v0.*
v0.1
v0.1.1
v0.1.2
v0.10.0
v0.10.1
v0.11.0
v0.2.0
v0.3.0
v0.4.0
v0.5.0
v0.6.0
v0.7.0
v0.8.0
v0.9.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-25295.json"