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.
https://www.vulncheck.com/advisories/go-chi-chi-before-open-redirect-via-redirectslashes
https://github.com/go-chi/chi/security/advisories/GHSA-vrw8-fxc6-2r93
Published: 2026-08-14
Updated: 2026-10-08
Named Vulnerability: GO-2025-3770Named Vulnerability: GHSA-xcvf-46f4-xwxfNamed Vulnerability: GHSA-vrw8-fxc6-2r93
Base Score: 5.8
Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:N
Severity: Medium
Base Score: 6.1
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Severity: Medium
Base Score: 5.1
Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Severity: Medium
EPSS: 0.00388