{"id":"CVE-2021-39217","published":"2023-01-27T17:57:58Z","modified":"2025-03-10T21:18:43Z","title":"OpenMage LTS arbitrary command execution in custom layout update through blocks","vendor":"OpenMage","product":"magento-lts","tier":"tail","description":{"text":"OpenMage LTS is an e-commerce platform. Prior to versions 19.4.22 and 20.0.19, Custom Layout enabled admin users to execute arbitrary commands via block methods. Versions 19.4.22 and 20.0.19 contain patches for this issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01379,"percentile":0.72786,"provenance":"source"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"references":[{"url":"https://github.com/OpenMage/magento-lts/security/advisories/GHSA-c9q3-r4rv-mjm7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/OpenMage/magento-lts/commit/289bd4b4f53622138e3e5c2d2cef7502d780086f","tags":["x_refsource_MISC"]},{"url":"https://github.com/OpenMage/magento-lts/releases/tag/v19.4.22","tags":["x_refsource_MISC"]},{"url":"https://github.com/OpenMage/magento-lts/releases/tag/v20.0.19","tags":["x_refsource_MISC"]}],"priority":{"score":19.6,"factors":[{"name":"EPSS percentile","points":14.56},{"name":"CVSS severity","points":5.04}]},"vendorSlug":"openmage","affectedVersions":[{"vendor":"OpenMage","product":"magento-lts","versions":["< 19.4.22",">= 20.0.0, < 20.0.19"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-03-10T20:58:24.428810Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"openmage/magento-lts","vulnerableRanges":["<19.4.22",">=20.0.0, <20.0.19"],"patched":["19.4.22","20.0.19"],"from":["GHSA-c9q3-r4rv-mjm7"],"provenance":"source"}],"summary":{"text":"OpenMage LTS (product magento-lts) contains a command injection flaw in its Custom Layout feature, which handles layout updates through block methods. An attacker holding administrator-level privileges can use this flaw to execute arbitrary commands, with the attack requiring network access and high-privilege authentication but no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:17:26Z"},"euvd":{"id":"EUVD-2023-0442","exploited":false,"provenance":"source"}}