CVE-2024-3572: XML External Entity (XXE) Vulnerability in scrapy/scrapy
Vulnerability summary
CVE-2024-3572 is a high (CVSS 7.5) vulnerability in scrapy. EPSS estimates a 0.81% chance of exploitation in the next 30 days, higher than 58.1% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (reference, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 16-04-2024PublishedVulnerability first disclosed.
- 01-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 5 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.81%
Chance of exploitation in the next 30 days
Percentile
58%
Versus all other CVEs
30-day change
Decrease -0.01 pp
From 0.81% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (huntr.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Scrapy2 products
- scrapy< 2.11.1
- scrapy/scrapy≥ unspecified, < 2.11.1
Debian1 product
- python-scrapyAll versions (No fix recorded) | < 2.11.1-1
PyPI1 product
- scrapy< 1.8.4 | ≥ 2.0.0, < 2.11.1
Ubuntu1 product
- python-scrapyAll versions (No fix recorded) | < 1.5.0-1ubuntu0.1~esm1 | < 1.7.3-1ubuntu0.1~esm1 | < 2.5.1-2ubuntu0.1~esm1
4 vendors · 5 products
References
13 links- huntr.com/bounties/c4a0fac9-0c5a-4718-9ee4-2d06d58adabbWEBREPORTExploitIssue TrackingThird Party Advisory
- github.com/scrapy/scrapyPACKAGE
- pypi.org/project/scrapyPACKAGE