CVE-2024-3572
HIGH 7.5CVSS 3.0Scrapy decompression bomb vulnerability
The scrapy/scrapy project is vulnerable to XML External Entity (XXE) attacks due to the use of lxml.etree.fromstring for parsing untrusted XML data without proper validation. This vulnerability allows attackers to perform denial of service attacks, access local files, generate network connections, or circumvent firewalls by submitting specially crafted XML data.
- Published
- 16 Apr 2024
- Last modified
- 7 Jul 2026
- Assigned by
- security@huntr.dev
- NVD status
- Analyzed
- Weakness
- CWE-409
- Also known as
- GHSA-7j7m-v7m3-jqm7PYSEC-2026-1907
- Sources
- NVDJSONOSV GHSA-7j7m-v7m3-jqm7JSONOSV PYSEC-2026-1907JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | scrapy | scrapycpe:2.3:a:scrapy:scrapy:*:*:*:*:*:*:*:* |
< 2.11.1 | 2.11.1 |
| OSV | PyPI | scrapy | >= 2.0.0, < 2.11.1 | 2.11.1 |
| OSV | PyPI | scrapy | < 1.8.4 | 1.8.4 |
| OSV | PyPI | scrapy | < 1.8.4; >= 2.0.0, < 2.11.1 | 1.8.4, 2.11.1 |
References
- https://github.com/scrapy/scrapy/commit/809bfac4890f75fc73607318a04d2ccba71b3d9f · Patch, WEB
- https://huntr.com/bounties/c4a0fac9-0c5a-4718-9ee4-2d06d58adabb · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://github.com/scrapy/scrapy/security/advisories/GHSA-7j7m-v7m3-jqm7 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-3572 · ADVISORY
- https://github.com/scrapy/scrapy/commit/71b8741e3607cfda2833c7624d4ada87071aa8e5 · WEB
- https://docs.scrapy.org/en/latest/news.html#scrapy-2-11-1-2024-02-14 · WEB
- https://github.com/scrapy/scrapy · PACKAGE
- https://pypi.org/project/scrapy · PACKAGE
- https://github.com/advisories/GHSA-7j7m-v7m3-jqm7 · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 16 Apr 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 16 Feb 2024)