Skip to content
CVE PROGRAM SOURCE RECORD5.1 Medium

CVE-2025-71405

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

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

go-chi chi

Default version status: unaffected

  • 0 to < 5.2.2affected
  • 5.2.2unaffected
pkg:golang/github.com/go-chi/chi/v5

References