CVE-2019-7942: Magento
High severity, CVSS 7.2. EPSS: 1.9% chance of exploitation in the next 30 days.
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 create or edit a product can execute arbitrary code via malicious XML layout updates.
Affected products
- Magento Magento: from 2.1.0, before 2.1.18 (fixed in 2.1.18); from 2.2.0, before 2.2.9 (fixed in 2.2.9); from 2.3.0, before 2.3.2 (fixed in 2.3.2)
Published 2019-08-02. Last modified 2026-06-17.