What’s Vulnerable › Vulnerabilities
CVE-2024-1892: ReDoS Vulnerability in scrapy/scrapy's XMLFeedSpider
- Severity: medium (CVSS 6.5 v3.1)
- 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-02-28 · updated 2026-06-17
- Weakness: CWE-1333
Description
A Regular Expression Denial of Service (ReDoS) vulnerability exists in the XMLFeedSpider class of the scrapy/scrapy project, specifically in the parsing of XML content. By crafting malicious XML content that exploits inefficient regular expression complexity used in the parsing process, an attacker can cause a denial-of-service (DoS) condition. This vulnerability allows for the system to hang and consume significant resources, potentially rendering services that utilize Scrapy for XML processing unresponsive.
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/479619b340f197a8f24c5db45bc068fb8755f2c5
- https://huntr.com/bounties/271f94f2-1e05-4616-ac43-41752389e26b
- https://github.com/scrapy/scrapy/commit/479619b340f197a8f24c5db45bc068fb8755f2c5
- https://huntr.com/bounties/271f94f2-1e05-4616-ac43-41752389e26b
Get alerted when CVE-2024-1892 or the next vulnerability affects your stack