CVE-2021-36031
EPSS 10.3%Magento Path Traversal vulnerability via the `theme[preview_image]` parameter
Published: 5/24/2022Modified: 11/7/2025
Also known as:GHSA-7w95-qwhh-q9p3
Description
Magento Commerce versions 2.4.2 (and earlier), 2.4.2-p1 (and earlier) and 2.3.7 (and earlier) are affected by a Path Traversal vulnerability via the `theme[preview_image]` parameter. An attacker with admin privileges could leverage this vulnerability to achieve remote code execution.
Affected packages (2)
- Packagist/magento/community-editionfrom 0, < 2.3.7-p1
- Packagist/magento/project-community-editionfrom 0, <= 2.0.2