GHSA-MFJM-VH54-3F96

GHSA-MFJM-VH54-3F96 is a medium-severity security vulnerability in scrapy (pip), affecting versions < 1.8.2. It is fixed in 1.8.2, 2.6.0.

Does this CVE actually affect you?

Kodem shows which CVEs are reachable and running in your applications, so you fix what's exploitable, not just what's listed.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Runtime intelligence, not another scanner.

Summary

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

Workarounds

The only workaround for unpatched versions of Scrapy is to disable cookies altogether, or limit target domains to a subset that does not include domain names with one of the public domain suffixes affected (those with 1 or more periods).

References

For more information

If you have any questions or comments about this advisory:

Impact

Responses from domain names whose public domain name suffix contains 1 or more periods (e.g. responses from example.co.uk, given its public domain name suffix is co.uk) are able to set cookies that are included in requests to any other domain sharing the same domain name suffix.

Affected versions

scrapy (< 1.8.2) scrapy (>= 2.0.0, < 2.6.0)

Security releases

scrapy → 1.8.2 (pip) scrapy → 2.6.0 (pip)

Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.

Already deployed Kodem?

See it in your environmentNew to Kodem? Get a demo →

Remediation advice

Upgrade to Scrapy 2.6.0, which restricts cookies with their domain set to any of those in the public suffix list.

If you are using Scrapy 1.8 or a lower version, and upgrading to Scrapy 2.6.0 is not an option, you may upgrade to Scrapy 1.8.2 instead.

Frequently Asked Questions

  1. What is GHSA-MFJM-VH54-3F96? GHSA-MFJM-VH54-3F96 is a medium-severity security vulnerability in scrapy (pip), affecting versions < 1.8.2. It is fixed in 1.8.2, 2.6.0.
  2. Which versions of scrapy are affected by GHSA-MFJM-VH54-3F96? scrapy (pip) versions < 1.8.2 is affected.
  3. Is there a fix for GHSA-MFJM-VH54-3F96? Yes. GHSA-MFJM-VH54-3F96 is fixed in 1.8.2, 2.6.0. Upgrade to this version or later.
  4. Is GHSA-MFJM-VH54-3F96 exploitable, and should I be worried? Whether GHSA-MFJM-VH54-3F96 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
  5. What actually determines whether GHSA-MFJM-VH54-3F96 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
  6. How do I fix GHSA-MFJM-VH54-3F96?
    • Upgrade scrapy to 1.8.2 or later
    • Upgrade scrapy to 2.6.0 or later

Other vulnerabilities in scrapy

Stop the waste.
Protect your environment with Kodem.