ADVISORIES

Vulnerability

CVE-2024-1892

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.

5 advisories report this vulnerability, across 3 ecosystems.

High severity All PyPI 2Ubuntu 2Debian 1

Advisories in PyPI

  • GHSA-cc65-xxvf-f7r9

    Scrapy vulnerable to ReDoS via XMLFeedSpider

    High CVE-2024-1892 PyPI Updated 14 January 2025
  • PYSEC-2024-162

    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…

    CVE-2024-1892 PyPI Updated 10 June 2026

References