NetSight
medium5.1No CVE yet

GHSA-xcvf-46f4-xwxf

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

Impact

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

An attacker can exploit this over the network, without logging in, but a user has to actively do something, such as open a file or a link. If it succeeds: low risk of data being read, low risk of data or systems being changed.

Affected packages

EcosystemPackageAffectedFixed in
gogithub.com/go-chi/chi<= 5.2.1none recorded

Weakness classification

References