What’s Vulnerable › Vulnerabilities
CVE-2024-3574: Authorization Header Leak During Cross-Domain Redirect in scrapy/scrapy
- Severity: high (CVSS 7.5 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-04-16 · updated 2026-06-17
- Weakness: CWE-200
Description
In scrapy version 2.10.1, an issue was identified where the Authorization header, containing credentials for server authentication, is leaked to a third-party site during a cross-domain redirect. This vulnerability arises from the failure to remove the Authorization header when redirecting across domains. The exposure of the Authorization header to unauthorized actors could potentially allow for account hijacking.
Affected products
- scrapy/scrapy: before 2.11.1 — fixed in 2.11.1
How to fix
Upgrade to a fixed version: scrapy/scrapy 2.11.1. Check the vendor advisory for mitigations.
References
- https://github.com/scrapy/scrapy/commit/5bcb8fd5019c72d05c4a96da78a7fcb6ecb55b75
- https://huntr.com/bounties/49974321-2718-43e3-a152-62b16eed72a9
- https://github.com/scrapy/scrapy/commit/5bcb8fd5019c72d05c4a96da78a7fcb6ecb55b75
- https://huntr.com/bounties/49974321-2718-43e3-a152-62b16eed72a9
Get alerted when CVE-2024-3574 or the next vulnerability affects your stack