🛡️ CVE-2021-39217 — magento-lts
Description
Fix for arbitrary command execution in custom layout update through blocks
Impact
Custom Layout enabled admin users to execute arbitrary commands via block methods.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs administrative privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.
Weakness class
CVE-2021-39217 is classified as CWE-77: Command Injection. User input is placed into a command that the system interprets, allowing extra commands to be appended to the intended one.
Affected software
CVE-2021-39217 is recorded against 1 package.
- openmage/magento-lts (from 20.0.0 up to 20.0.19)
Timeline and source
Published on 27 January 2023 and last revised on 8 July 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
github.com (Web)
nvd.nist.gov (Advisory)
github.com (Web)
github.com (Package)
github.com (Web)
github.com (Web)
Details
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| openmage/magento-lts | 20.0.0 | 20.0.19 |
References
Similar Threats
- Unknown CVE-2026-42458
- Critical CVE-2026-42155
- Medium CVE-2026-42207
- High CVE-2026-25524
- Medium CVE-2026-25525
More CVE 2021 advisories
Browse all of CVE 2021 in the advisory index.
Site Security Check
Is magento-lts part of your stack?
CVE-2021-39217 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.