{"id":"CVE-2024-3572","published":"2024-04-16T00:00:14Z","modified":"2024-08-01T20:12:07Z","title":"XML External Entity (XXE) Vulnerability in scrapy/scrapy","vendor":"scrapy","product":"scrapy/scrapy","tier":"tail","description":{"text":"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. ","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00814,"percentile":0.57936,"provenance":"source"},"cwes":[{"id":"CWE-409","name":"Improper Handling of Highly Compressed Data (Data Amplification)"}],"references":[{"url":"https://huntr.com/bounties/c4a0fac9-0c5a-4718-9ee4-2d06d58adabb","tags":[]},{"url":"https://github.com/scrapy/scrapy/commit/809bfac4890f75fc73607318a04d2ccba71b3d9f","tags":[]}],"priority":{"score":16.8,"factors":[{"name":"EPSS percentile","points":11.59},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"scrapy","affectedVersions":[{"vendor":"scrapy","product":"scrapy/scrapy","versions":[">= unspecified, < 2.11.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2024-04-18T15:21:44.587736Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"scrapy","vulnerableRanges":[">=2.0.0, <2.11.1","<1.8.4"],"patched":["2.11.1","1.8.4"],"from":["GHSA-7j7m-v7m3-jqm7","PYSEC-2026-1907"],"provenance":"source"}],"summary":{"text":"The scrapy/scrapy project contains an XML External Entity (XXE) flaw in its XML handling, where untrusted XML data is parsed with lxml.etree.fromstring without proper validation. An attacker who can submit specially crafted XML to the affected component can cause a denial of service, read local files, generate network connections, or circumvent firewalls, with no authentication or user interaction required and network access as the only precondition.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:57:29Z"},"euvd":{"id":"EUVD-2024-0557","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-scrapy-scrapy-cve-2024-3572","children":[{"from":"CVE-2024-3572","to":"CVE-2025-6176","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["scrapy/downloadermiddlewares/httpcompression.py","scrapy/utils/_compression.py","scrapy/utils/gz.py"],"commits":["https://github.com/scrapy/scrapy/commit/809bfac4890f75fc73607318a04d2ccba71b3d9f","https://github.com/scrapy/scrapy/commit/71b8741e3607cfda2833c7624d4ada87071aa8e5","https://github.com/scrapy/scrapy/commit/14737e91edc513967f516fc839cc9c8a4f8d91da"],"basis":"shared function","functions":["process_response"]}]}]}}