Report
Wget can reuse Basic auth across redirects to a different host
a27b785c-b755-4383-86a0-d1cb08bbab65
A redirected HTTP request can carry credentials to an attacker-controlled origin when Wget auto-reuses Basic auth state across requests. The code registers a host as Basic-authenticated and later sends credentials based on host membership, but redirect handling does not appear to enforce that the redirected target matches the original origin before applying the cached credentials.