{"id":"CVE-2021-39217","aliases":["CVE-2021-39217","GHSA-c9q3-r4rv-mjm7"],"related":[],"kind":"vulnerability","state":"published","title":"OpenMage LTS arbitrary command execution in custom layout update through blocks","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Impact\nCustom Layout enabled admin users to execute arbitrary commands via block methods.","format":"markdown","source":"ghsa"},{"lang":"es","text":"OpenMage LTS es una plataforma de comercio electrónico. Antes de las versiones 19.4.22 y 20.0.19, el diseño personalizado permitía a los usuarios administradores ejecutar comandos arbitrarios mediante métodos de bloqueo. Las versiones 19.4.22 y 20.0.19 contienen parches para este problema.","source":"nvd"}],"published":"2023-01-27T00:54:46.000Z","modified":"2026-07-08T06:29:36.452Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2,"rating":"HIGH"}],"cwes":["CWE-77"],"affected":[{"ranges":[{"version":"< 19.4.22","status":"affected"},{"version":">= 20.0.0, < 20.0.19","status":"affected"}],"vendor":"OpenMage","product":"magento-lts","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"19.4.22"}],"ecosystem":"Packagist","package":"openmage/magento-lts","purl":"pkg:composer/openmage/magento-lts","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"20.0.0","status":"affected","fixed":"20.0.19"}],"ecosystem":"Packagist","package":"openmage/magento-lts","purl":"pkg:composer/openmage/magento-lts","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"19.4.22"},{"status":"affected","introduced":"20.0.0","fixed":"20.0.19"}],"vendor":"openmage","product":"magento","cpe":"cpe:2.3:a:openmage:magento:*:*:*:*:lts:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/OpenMage/magento-lts/security/advisories/GHSA-c9q3-r4rv-mjm7","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/OpenMage/magento-lts/commit/289bd4b4f53622138e3e5c2d2cef7502d780086f","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/OpenMage/magento-lts/releases/tag/v19.4.22","tags":["release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/OpenMage/magento-lts/releases/tag/v20.0.19","tags":["release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39217","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/OpenMage/magento-lts","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-03-10T20:58:24.428Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-39217","url":"https://www.cve.org/CVERecord?id=CVE-2021-39217","licence":"CVE Terms of Use","modified":"2025-03-10T21:18:43.503Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-c9q3-r4rv-mjm7","url":"https://github.com/advisories/GHSA-c9q3-r4rv-mjm7","licence":"CC-BY-4.0","modified":"2026-07-08T06:29:36.452Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-39217","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39217","licence":"Public domain","modified":"2026-06-17T04:03:19.973Z"}],"updatedAt":"2026-11-25T22:58:08.150Z","epss":{"score":0.01431,"percentile":0.73823,"date":"2026-12-01T12:00:22.000Z"}}