CVE-2024-3572
XML External Entity (XXE) Vulnerability in scrapy/scrapy
Reported by @huntr_ai · Published April 16, 2024
scrapy is fixed in 2.11.1 and 1.8.4 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| scrapy | PyPI | 2.11.1, 1.8.4 |
| scrapy | scrapy | 2.11.1 |
| scrapy/scrapy | scrapy | 2.11.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| scrapy | scrapy/scrapy | unspecified |
| scrapy | scrapy | 0 |
| scrapy | scrapy/scrapy | * |
| PyPI | scrapy | 0 |
Timeline
- Apr 16, 2024 EPSS Score (30 in total, the first dated here)
- Apr 16, 2024 CVE Published
- Apr 16, 2024 CVE Updated
- Oct 4, 2024 Coalition ESS Score (6 in total, the first dated here)
- Mar 9, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-3572
vulnetix vdb fixes CVE-2024-3572
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-3572/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart