🛡️ CVE-2021-36031 — community-edition
Description
Magento Path Traversal vulnerability via the theme[preview_image] parameter
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.
Weakness class
CVE-2021-36031 is classified as CWE-22: Path Traversal. A file path built from user input is not confined to the intended directory, letting an attacker reach files elsewhere on the filesystem.
Affected software
CVE-2021-36031 is recorded against 2 packages.
- magento/community-edition
- magento/project-community-edition
Timeline and source
Published on 24 May 2022 and last revised on 7 November 2025. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
nvd.nist.gov (Advisory)
github.com (Package)
helpx.adobe.com (Web)
Details
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| magento/community-edition | — | — |
| magento/project-community-edition | — | — |
References
Similar Threats
- Critical CVE-2019-7139
- High CVE-2019-7849
- Unknown CVE-2019-7851
- Unknown CVE-2019-7852
- Unknown CVE-2019-7857
More CVE 2021 advisories
Browse all of CVE 2021 in the advisory index.
Site Security Check
Is community-edition part of your stack?
CVE-2021-36031 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.