# CVE-2024-1892: ReDoS Vulnerability in scrapy/scrapy's XMLFeedSpider

- Severity: High 7.5 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 47% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-02-15T15:22:02.000Z
- Modified: 2026-06-17T07:05:14.030Z
- Also known as: GHSA-cc65-xxvf-f7r9, PYSEC-2024-162
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: @huntr_ai

## 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.

(As written by CVE List.)

## Affected

- scrapy scrapy/scrapy: from unspecified before 2.11
- scrapy scrapy: before 2.11; before 2.11.1
- scrapy (PyPI): from 2 before 2.11.1; before 1.8.4; before 479619b340f197a8f24c5db45bc068fb8755f2c5; before 2.11.1

## Every score

- @huntr_ai: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://huntr.com/bounties/271f94f2-1e05-4616-ac43-41752389e26b> (exploit, evidence, fix, issue-tracking, patch, report, third-party-advisory, web)
- <https://github.com/scrapy/scrapy/commit/479619b340f197a8f24c5db45bc068fb8755f2c5> (fix, patch, web)
- <https://github.com/scrapy/scrapy/security/advisories/GHSA-cc65-xxvf-f7r9> (web)
- <https://github.com/scrapy/scrapy/commit/73e7c0ed011a0565a1584b8052ec757b54e5270b> (web)
- <https://docs.scrapy.org/en/latest/news.html#scrapy-1-8-4-2024-02-14> (web)
- <https://docs.scrapy.org/en/latest/news.html#scrapy-2-11-1-2024-02-14> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/scrapy/PYSEC-2024-162.yaml> (web)
- <https://github.com/scrapy/scrapy> (package)
- <https://github.com/advisories/GHSA-cc65-xxvf-f7r9> (advisory)

## Sources

- CVE List: [CVE-2024-1892](https://www.cve.org/CVERecord?id=CVE-2024-1892), CVE Terms of Use, modified 2024-08-11
- GitHub Advisory Database: [GHSA-cc65-xxvf-f7r9](https://github.com/advisories/GHSA-cc65-xxvf-f7r9), CC-BY-4.0, modified 2025-01-14
- NVD: [CVE-2024-1892](https://nvd.nist.gov/vuln/detail/CVE-2024-1892), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2024-162](https://osv.dev/vulnerability/PYSEC-2024-162), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2024-1892 · Whole record: https://cve.day/CVE-2024-1892.json · Rebuilt by cve.day 2026-11-25T22:58:37.094Z
