Live threats

All CVEs / Magento

CVE-2019-7895Magento

High 7.2

Priority
43
CVSS 3.0
7.2
EPSS
1.9%
probability of exploitation in 30 days · percentile 80
Auth required
Yes
Published
Aug 2, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

What happens

A remote code execution vulnerability exists 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. An authenticated user with admin privileges to layouts can execute arbitrary code through a crafted XML layout update.

Original NVD text.

What to do

  1. Apply the vendor's security update for Magento.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist magento/community-edition ≥ 2.1 < 2.1.18 2.1.18 composer require "magento/community-edition:^2.1.18"
Packagist magento/community-edition ≥ 2.2 < 2.2.9 2.2.9 composer require "magento/community-edition:^2.2.9"
Packagist magento/community-edition ≥ 2.3 < 2.3.2 2.3.2 composer require "magento/community-edition:^2.3.2"

Per OSV / GitHub Advisories (GHSA-mw5w-cf76-73m8). 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.