Information disclosure in scrapy - #VU127075
Published: February 14, 2024 / Updated: April 23, 2026
scrapy
scrapy.org
Description
The vulnerability allows a remote attacker to disclose sensitive information.
The vulnerability exists due to exposure of sensitive information in the built-in redirect middleware when following a cross-domain redirect after sending a request with an Authorization header. A remote attacker can trigger a redirect to a different domain to disclose sensitive information.
The issue occurs because the follow-up redirect request keeps the original Authorization header instead of dropping it.