ADVISORIES

Vulnerability

CVE-2025-71405

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.

168 advisories report this vulnerability, across 5 ecosystems.

Advisories in Go

  • GHSA-vrw8-fxc6-2r93

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

    Moderate CVE-2025-71405 Go Updated 2 October 2026
  • GO-2025-3770

    Host header injection which leads to open redirect in RedirectSlashes in github.com/go-chi/chi

    CVE-2025-71405 Go Updated 15 August 2026

References