CVE-2024-3572

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductScrapy
PublishedApr 16, 2024
First seenApr 16, 2024
Weakness typeCWE-409CWE-409

How to fix

Update
  • scrapy scrapy2.11.1 or later
  • scrapy2.11.1, 1.8.4 or later

Affected products

ProductAffected versionsFixed in
scrapy scrapyv < 2.11.12.11.1
scrapyPyPI2.0.0 ≤ v < 2.11.1, v < 1.8.42.11.1, 1.8.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.