XML External Entity (XXE) Vulnerability in scrapy/scrapy (scrapy scrapy/scrapy)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.81 % · percentile 57 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- @huntr_ai
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-409 — Improper Handling of Highly Compressed Data (Data Amplification)
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | @huntr_ai |
| CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD · security@huntr.dev (Secondary) |
Advisories
- GHSA-7j7m-v7m3-jqm7 — Scrapy decompression bomb vulnerability
- PYSEC-2026-1907 — Scrapy decompression bomb vulnerability
European references
- ENISA EUVD · EUVD-2024-0557
- GCVE · GCVE-0-2024-3572
Affected configurations (NVD CPE)
cpe:2.3:a:scrapy:scrapy:*:*:*:*:*:*:*:*< 2.11.1
Affected products
| Product | Versions |
|---|---|
| scrapy · scrapy/scrapy | affected unspecified < 2.11.1 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |