Skip to content
Heist/ feed
Medium

go-chi chi before v5.2.2 Open Redirect via RedirectSlashes

Type: advisorySource: Official CVE List1 source record

chi versions before v5.2.2 contain an open redirect vulnerability in the RedirectSlashes middleware function that uses the Host header to construct redirect URLs. Attackers can manipulate the Host header to redirect users to arbitrary hosts, enabling phishing attacks and credential theft.

Announced Source revision 1
Original source ↗

CVE-2025-71405

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2025-71405

chi

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "go-chi",
    "product": "chi",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "5.2.2",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.2.2",
        "versionType": "semver"
      }
    ],
    "packageURL": "pkg:golang/github.com/go-chi/chi/v5",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2025-71405

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

Event
#12644 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement