Live threats

All CVEs / Magento

CVE-2019-7857Magento

Medium 4.3 No auth needed

Priority
41
CVSS 3.0
4.3
EPSS
0.4%
probability of exploitation in 30 days · percentile 34
Auth required
No
Published
Aug 2, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-352
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Magento.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist magento/community-edition ≥ 2.2.0 < 2.2.9 2.2.9 composer require "magento/community-edition:^2.2.9"
Packagist magento/community-edition ≥ 2.1.0 < 2.1.18 2.1.18 composer require "magento/community-edition:^2.1.18"
Packagist magento/community-edition ≥ 2.3.0 < 2.3.2 2.3.2 composer require "magento/community-edition:^2.3.2"

Per OSV / GitHub Advisories (GHSA-f6ww-vqw2-xp3v). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
magentomagento≥ 2.1.0 < 2.1.18
magentomagento≥ 2.2.0 < 2.2.9
magentomagento≥ 2.3.0 < 2.3.2

Official sources

References

Links published by the sources. Open them with care.