Python scrapy: The scrapy/scrapy project is vulnerable to XML External Entity (XXE) attacks due to the use of
Affects python-scrapySource GCVE Database
Not known to be exploited · CVSS 7.5 High · fixed in 1.5.0-1ubuntu0.1~esm1 : patch python-scrapy soon.
Data as of 24 Nov 2026, 19:24 UTC
- Patch
- Available – fixed in 1.5.0-1ubuntu0.1~esm1, 1.7.3-1ubuntu0.1~esm1, 2.5.1-2ubuntu0.1~esm1
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 16 Apr 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade the Ubuntu python-scrapy to 1.5.0-1ubuntu0.1~esm1 (package) or 1.7.3-1ubuntu0.1~esm1 (package) or 2.5.1-2ubuntu0.1~esm1 (package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu Pro 22.04 LTSpython-scrapypkg:deb/ubuntu/python-scrapy?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSpython-scrapypkg:deb/ubuntu/python-scrapy?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 18.04 LTSpython-scrapypkg:deb/ubuntu/python-scrapy?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in
|
Ubuntu 16.04 LTSpython-scrapypkg:deb/ubuntu/python-scrapy?arch=source&distro=xenialOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2024-3572 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-3572 (opens in a new tab)
- huntr.com/bounties/c4a0fac9-0c5a-4718-9ee4-2d06d58adabb (opens in a new tab)
- github.com/scrapy/scrapy/commit/809bfac4890f75fc73607318a04d2ccba71b3d9f (opens in a new tab)
- github.com/scrapy/scrapy/security/advisories/GHSA-7j7m-v7m3-jqm7 (opens in a new tab)
- ubuntu.com/security/notices/USN-7476-1 (opens in a new tab)