What’s Vulnerable › Vulnerabilities

CVE-2024-3572: XML External Entity (XXE) Vulnerability in scrapy/scrapy

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.

Affected products

How to fix

Upgrade to a fixed version: scrapy/scrapy 2.11.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-3572 or the next vulnerability affects your stack