A AegiFlow
MEDIUMCVSS 5.1

GHSA-xcvf-46f4-xwxf

Duplicate Advisory: chi Allows Host Header Injection which Leads to Open Redirect in RedirectSlashes

Published
2026-08-14
Modified
2026-10-02
Sources
github-advisory

Summary

## 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.

Affected packages

EcosystemPackageAffected versionsFixed versions
Gogithub.com/go-chi/chi——

Remediation: No patched version is listed by GitHub.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.