Origin validation error in scrapy - #VU127077
Published: March 1, 2022 / Updated: April 23, 2026
scrapy
scrapy.org
Description
The vulnerability allows a remote attacker to inject cookies into requests sent to other domains sharing the same public suffix.
The vulnerability exists due to improper cookie domain validation in the cookie handling logic when processing responses from domain names whose public suffix contains one or more periods. A remote attacker can send a response that sets a crafted cookie domain to inject cookies into requests sent to other domains sharing the same public suffix.
This affects public domain suffixes that contain one or more periods, such as co.uk.