CVE-2019-7876Magento
High 8.8
Follow: this CVE · Magento · Magento We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.0
- 8.8
- 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:L/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 privileges to manipulate layouts can insert a malicious payload into the layout.
What to do
- Apply the vendor's security update for Magento.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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" |
| Packagist | magento/product-community-edition |
≥ 2.1 < 2.1.18 |
2.1.18 |
composer require "magento/product-community-edition:^2.1.18" |
| Packagist | magento/product-community-edition |
≥ 2.2 < 2.2.9 |
2.2.9 |
composer require "magento/product-community-edition:^2.2.9" |
| Packagist | magento/product-community-edition |
≥ 2.3 < 2.3.2 |
2.3.2 |
composer require "magento/product-community-edition:^2.3.2" |
Per OSV / GitHub Advisories (GHSA-6qh6-v99h-vh4c). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| magento | magento | ≥ 2.1.0 < 2.1.18 |
| magento | magento | ≥ 2.2.0 < 2.2.9 |
| magento | magento | ≥ 2.3.0 < 2.3.2 |
Official sources
References
Links published by the sources. Open them with care.
- magento.com Vendor Advisory