Open Redirect Vulnerability in chi Middleware by go-chi
CVE-2025-71405

5.1MEDIUM

Key Information:

Vendor

Go-chi

Status
Vendor
CVE Published:
14 August 2026

What is CVE-2025-71405?

The chi web framework, prior to version 5.2.2, is susceptible to an open redirect vulnerability through its RedirectSlashes middleware function. This flaw arises when the middleware uses the Host header inappropriately to construct redirect URLs. By manipulating the Host header, attackers can redirect users to unauthorized external sites, potentially leading to phishing attacks and the theft of sensitive credentials. Users of chi are advised to update to version 5.2.2 or later to mitigate this issue.

Affected Version(s)

chi 0 < 5.2.2

chi 5.2.2

References

CVSS V4

Score:
5.1
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

anuraagbaishya
.