# Scrapy cookie-setting is not restricted based on the public suffix list

Source: https://junglewise.ai/threats/scrapy-cookie-setting-is-not-restricted-based-on-the-public-suffix-list-47c1a39d  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-03-01  
License: CC BY 4.0 with a link back

Severity: info · Published 2022-03-01

Scrapy cookie-setting is not restricted based on the public suffix list

Technologies: [scrapy (PyPI)](https://junglewise.ai/threats/technologies/scrapy). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Informational severity, published 1 March 2022.

**Which products and versions are affected?** scrapy (PyPI) ECOSYSTEM:introduced=0,fixed=1.8.2.

**Is there a fix for This vulnerability?** Yes. scrapy (PyPI): upgrade to 1.8.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected?** Check whether you run scrapy (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- scrapy (PyPI): upgrade to 1.8.2 or later

  ```sh
  pip install "scrapy>=1.8.2"
  ```


## Affected products

- scrapy (PyPI) ECOSYSTEM:introduced=0,fixed=1.8.2

## Related threats

- [Scrapy arbitrary code execution via Referrer-Policy header](https://junglewise.ai/threats/cve-2026-105782-scrapy-arbitrary-module-import-via-referrer-policy-header-in)
- [Scrapy S3DownloadHandler cleartext transmission of AWS credentials](https://junglewise.ai/threats/cve-2026-84366-scrapy-s3downloadhandler-cleartext-transmission-of-aws)
- [PYSEC-2026-2401 - Scrapy is vulnerable to a denial of service (DoS) attack due to flaws in brotli decompression implementation](https://junglewise.ai/threats/cve-2025-6176-scrapy-denial-of-service-via-brotli-decompression-bomb)
- [PYSEC-2026-1907 - Scrapy decompression bomb vulnerability](https://junglewise.ai/threats/cve-2024-3572-scrapy-decompression-bomb-vulnerability)
- [PYSEC-2026-1908 - Scrapy authorization header leakage on cross-domain redirect](https://junglewise.ai/threats/cve-2024-3574-scrapy-authorization-header-leakage-on-cross-domain-redirect)
