Duplicate Advisory: chi Allows Host Header Injection which Leads to Open Redirect in RedirectSlashes
## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-vrw8-fxc6-2r93. This link is maintained to preserve external references. ## Original Description 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.
GHSA-xcvf-46f4-xwxf
Primary source · Revision 1 · Withdrawn
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:GHSA-xcvf-46f4-xwxf
github.com/go-chi/chi
Source reference: /affected/0/package/name
- 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.
[
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"last_affected": "5.2.1"
}
]
}
],
"package": {
"name": "github.com/go-chi/chi",
"purl": "pkg:golang/github.com/go-chi/chi",
"ecosystem": "Go"
},
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-xcvf-46f4-xwxf/GHSA-xcvf-46f4-xwxf.json"
}
}
]Publisher severity
medium
Source reference: /severity/0/score
- Event
- #72764 · Revision 1
- Added to Heist Feed
- Publisher date