VDB
Sign up
MEDIUM4.3

GHSA-f6ww-vqw2-xp3v

Magento Cross-Site Request Forgery (CSRF)

Quick fix

GHSA-f6ww-vqw2-xp3v — magento/community-edition: upgrade to the fixed version with the command below.

composer require magento/community-edition:^2.2.9

Details

A cross-site request forgery vulnerability in Magento 2.1 prior to 2.1.18, Magento 2.2 prior to 2.2.9, Magento 2.3 prior to 2.3.2 can cause unwanted items to be added to a shopper's cart due to an insufficiently robust anti-CSRF token implementation.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/magento/community-edition
Introduced in: 2.2.0Fixed in: 2.2.9
Fixcomposer require magento/community-edition:^2.2.9
Packagist/magento/community-edition
Introduced in: 2.1.0Fixed in: 2.1.18
Fixcomposer require magento/community-edition:^2.1.18
Packagist/magento/community-edition
Introduced in: 2.3.0Fixed in: 2.3.2
Fixcomposer require magento/community-edition:^2.3.2

References