magento/magento2 · Security
Magento Path Traversal vulnerability via the `theme[preview_image]` parameter
- GHSA ID
- GHSA-7w95-qwhh-q9p3
- CVE ID
- CVE-2021-36031
- Severity
- high
- Published
- Updated
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.
CWEs
- CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')