Cleartext transmission of sensitive information in http-client - #VU171077
Published: November 30, 2026
Vulnerability details
The vulnerability allows a remote attacker to obtain sensitive request header values transmitted in cleartext.
The vulnerability exists due to an incomplete same-origin check in the FollowRedirects component, which compares only the host and port when handling redirects. A remote attacker can observe network traffic after a same-host redirect from HTTPS to HTTP to obtain values from request headers such as Authorization and Cookie.
Cookies managed by amphp/http-client-cookies are not affected because the package respects the Secure flag.