Read the docs
TI-2024-03331 Aliases CVE-2024-3572GHSA-7j7m-v7m3-jqm7

XML External Entity (XXE) Vulnerability in scrapy/scrapy

Priority HIGH 72CWE-409Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.0 · CNA. Fix status from CNA and GitHub.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00814 57th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed scrapy/scrapy (scrapy): 2.11.1scrapy (PyPI): 2.11.1, 1.8.4

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
scrapyscrapy/scrapybefore 2.11.12.11.1Patch availableCNA
—scrapy (PyPI)2.0.0 to before 2.11.12.11.1Patch availableGHSA-7j7m-v7m3-jqm7
—scrapy (PyPI)before 1.8.41.8.4Patch availableGHSA-7j7m-v7m3-jqm7
  • scrapy/scrapy Vendorscrapy Affected before 2.11.1 Fixed in 2.11.1 Patch available CNA
  • scrapy (PyPI) Vendor— Affected 2.0.0 to before 2.11.1 Fixed in 2.11.1 Patch available GHSA-7j7m-v7m3-jqm7
  • scrapy (PyPI) Vendor— Affected before 1.8.4 Fixed in 1.8.4 Patch available GHSA-7j7m-v7m3-jqm7

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:scrapy:scrapy:*:*:*:*:*:*:*:*before 2.11.1Vulnerablescrapy
  • cpe:2.3:a:scrapy:scrapy:*:*:*:*:*:*:*:* Versions before 2.11.1 Vulnerable ·scrapy

Remediation

  • Fix · CNA scrapy/scrapy (scrapy) Fixed in 2.11.1
  • Fix · GHSA-7j7m-v7m3-jqm7 scrapy (PyPI) Fixed in 2.11.1 Advisory →
  • Fix · GHSA-7j7m-v7m3-jqm7 scrapy (PyPI) Fixed in 1.8.4 Advisory →

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    scrapy/scrapy 2.11.1

    2 records Highest priority Priority HIGH 2 HIGH

    Other records, highest priority first

    • TI-2024-03333 Authorization Header Leak During Cross-Domain Redirect in scrapy/scrapyPriority HIGH 72

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-3572
  2. 2026-10-03 Alias added: GHSA-7j7m-v7m3-jqm7

References

  • TI-2024-03333 Authorization Header Leak During Cross-Domain Redirect in scrapy/scrapy CVSS 3.0HIGH 7.5
  • TI-2024-01831 Authorization Header Leakage in scrapy/scrapy on Scheme Change Redirects CVSS 3.0HIGH 7.5
  • TI-2017-10313 Scrapy 1.4 allows remote attackers to cause a denial of service (memory consumption) via… CVSS 3.0HIGH 7.5
  • TI-2024-01761 ReDoS Vulnerability in scrapy/scrapy's XMLFeedSpider CVSS 3.1MEDIUM 6.5
  • TI-2022-00495 Exposure of Sensitive Information to an Unauthorized Actor in scrapy/scrapy CVSS 3.1MEDIUM 6.5
  • TI-2021-17964 HTTP authentication credential leak to target websites in scrapy CVSS 3.1MEDIUM 6.5

Sources