Live threats

All CVEs / Scrapy

CVE-2024-3572Scrapy

High 7.5 No auth needed

Priority
60
CVSS 3.0
7.5
EPSS
1.1%
probability of exploitation in 30 days · percentile 65
Auth required
No
Published
Apr 16, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-409
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Scrapy.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI scrapy ≥ 2.0.0 < 2.11.1 2.11.1 pip install "scrapy>=2.11.1"
PyPI scrapy < 1.8.4 1.8.4 pip install "scrapy>=1.8.4"
PyPI scrapy < 1.8.4 1.8.4 pip install "scrapy>=1.8.4"
PyPI scrapy ≥ 2.0.0 < 2.11.1 2.11.1 pip install "scrapy>=2.11.1"

Per OSV / GitHub Advisories (GHSA-7j7m-v7m3-jqm7, PYSEC-2026-1907). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
scrapyscrapy< 2.11.1

Official sources

References

Links published by the sources. Open them with care.