CVE-2019-7895
HIGH 7.2CVSS 3.0Magento 2 Community Edition RCE Vulnerability
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.
- Published
- 2 Aug 2019
- Last modified
- 17 Jun 2026
- Assigned by
- psirt@adobe.com
- NVD status
- Modified
- Also known as
- GHSA-mw5w-cf76-73m8
- Sources
- NVDJSONOSV GHSA-mw5w-cf76-73m8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 7.2 | CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 7.2 | CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | magento | magentocpe:2.3:a:magento:magento:*:*:*:*:open_source:*:*:* |
>= 2.1.0, < 2.1.18 | 2.1.18 |
| NVD | magento | magentocpe:2.3:a:magento:magento:*:*:*:*:open_source:*:*:* |
>= 2.2.0, < 2.2.9 | 2.2.9 |
| NVD | magento | magentocpe:2.3:a:magento:magento:*:*:*:*:open_source:*:*:* |
>= 2.3.0, < 2.3.2 | 2.3.2 |
| OSV | Packagist | magento/community-edition | >= 2.1, < 2.1.18 | 2.1.18 |
| OSV | Packagist | magento/community-edition | >= 2.2, < 2.2.9 | 2.2.9 |
| OSV | Packagist | magento/community-edition | >= 2.3, < 2.3.2 | 2.3.2 |
References
- https://magento.com/security/patches/magento-2.3.2-2.2.9-and-2.1.18-security-update-13 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2019-7895 · ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/magento/product-community-edition/CVE-2019-7895.yaml · WEB
- https://web.archive.org/web/20211206084839/https://magento.com/security/patches/magento-2.3.2-2.2.9-and-2.1.18-security-update-13 · WEB
History
- 25 Nov 2026 20:22 UTC · NVD: first stored (published 2 Aug 2019)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 24 May 2022)