{"id":"GHSA-xcvf-46f4-xwxf","title":"Duplicate Advisory: chi Allows Host Header Injection which Leads to Open Redirect in RedirectSlashes","summary":"Duplicate Advisory: chi Allows Host Header Injection which Leads to Open Redirect in RedirectSlashes","severity":"medium","cwe":["CWE-601"],"vendor":"go-chi","product":"github.com/go-chi/chi","ecosystem":"go","affected":["github.com/go-chi/chi <= 5.2.1"],"published":"2026-08-14","updated":"2026-10-02","sourceUpdated":"2026-10-02T23:17:36Z","source":"GHSA","sourceUrl":"https://github.com/advisories/GHSA-xcvf-46f4-xwxf","references":[{"url":"https://github.com/go-chi/chi/security/advisories/GHSA-vrw8-fxc6-2r93"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71405"},{"url":"https://www.vulncheck.com/advisories/go-chi-chi-before-open-redirect-via-redirectslashes"},{"url":"https://github.com/advisories/GHSA-xcvf-46f4-xwxf"}],"tags":["ghsa","go"],"ingestedAt":"2026-10-02T23:34:57.389Z","slug":"GHSA-xcvf-46f4-xwxf","body":"## Overview\n\n## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-vrw8-fxc6-2r93. This link is maintained to preserve external references.\n\n## Original Description\nchi 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.\n\n## Affected packages\n\n- `github.com/go-chi/chi <= 5.2.1`\n\n## Remediation\n\nRefer to the advisory for the patched release.","depth":"sunlit","depthScore":28,"depthScoreParts":{"impact":27.5,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}