CVE-2024-3572: The scrapy/scrapy project is vulnerable to XML External Entity (XXE) attacks due to the use of lxml.etree.from
CVE-2024-3572 is a high-severity flaw (CVSS 7.5) affecting scrapy. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.8% (top 43%) |
| CISA exploited list | No |
| Weakness | CWE-409 |
| Published | 2024-04-16 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-3572?
scrapy: upgrade to 2.11.1. Exact commands for each OS are on this page.
Is CVE-2024-3572 being exploited?
CVE-2024-3572 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-3572 affect?
CVE-2024-3572 affects scrapy. Severity is high (CVSS 7.5). 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
How urgent is CVE-2024-3572?
Priority 50/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2024-3574 HIGH 7.5 UPGRADE In scrapy version 2.10.1, an issue was identified where the Authorization header, containing credentials for s
- CVE-2024-1968 HIGH 7.5 UPGRADE In scrapy/scrapy, an issue was identified where the Authorization header is not removed during redirects that
- CVE-2024-1892 MEDIUM 6.5 UPGRADE A Regular Expression Denial of Service (ReDoS) vulnerability exists in the XMLFeedSpider class of the scrapy/s