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

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2024-04-16 · Modified: 2024-08-01
- Aliases: GHSA-7j7m-v7m3-jqm7, PYSEC-2026-1907, UBUNTU-CVE-2024-3572, DEBIAN-CVE-2024-3572
- Record: https://cvemate.com/vulnerability/CVE-2024-3572 · JSON: https://cvemate.com/vulnerability/CVE-2024-3572/json

## 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.
```

## Signals

- CVSS: 7.5 high (v3.0, CVE.org) CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.807%, percentile 58.151%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- debian python-scrapy (Debian): All versions (No fix recorded) \| \< 2.11.1-1
- ubuntu python-scrapy (Ubuntu): All versions (No fix recorded) \| \< 1.5.0-1ubuntu0.1~esm1 \| \< 1.7.3-1ubuntu0.1~esm1 \| \< 2.5.1-2ubuntu0.1~esm1
- PyPI scrapy (PyPI): \< 1.8.4 \| ≥ 2.0.0, \< 2.11.1
- scrapy scrapy: \< 2.11.1
- scrapy scrapy/scrapy: ≥ unspecified, \< 2.11.1

## References

- <https://huntr.com/bounties/c4a0fac9-0c5a-4718-9ee4-2d06d58adabb>
- <https://github.com/scrapy/scrapy/commit/809bfac4890f75fc73607318a04d2ccba71b3d9f>
- <https://github.com/scrapy/scrapy/security/advisories/GHSA-7j7m-v7m3-jqm7>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-3572>
- <https://github.com/scrapy/scrapy/commit/71b8741e3607cfda2833c7624d4ada87071aa8e5>
- <https://docs.scrapy.org/en/latest/news.html#scrapy-2-11-1-2024-02-14>
- <https://github.com/scrapy/scrapy>
- <https://pypi.org/project/scrapy>
- <https://github.com/advisories/GHSA-7j7m-v7m3-jqm7>
- <https://ubuntu.com/security/CVE-2024-3572>
- <https://www.cve.org/CVERecord?id=CVE-2024-3572>
- <https://ubuntu.com/security/notices/USN-7476-1>
- <https://security-tracker.debian.org/tracker/CVE-2024-3572>

---

Data as of 2026-12-05T09:38:49.561Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
