{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-39217","id":"CVE-2021-39217","title":"OpenMage LTS arbitrary command execution in custom layout update through blocks","description":"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.","descriptionLong":"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.","published":"2023-01-27T17:57:58.255Z","updated":"2026-10-24T10:51:25.307545981Z","reserved":"2021-08-16T20:13:27.756Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["OpenMage magento-lts"],"affectedProducts":[{"vendor":"OpenMage","product":"magento-lts","defaultStatus":null,"versions":[{"version":"< 19.4.22","status":"affected"},{"version":">= 20.0.0, < 20.0.19","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"openmage/magento-lts","purl":"pkg:composer/openmage/magento-lts","ranges":["<19.4.22",">=20.0.0 <20.0.19"],"fixed":["19.4.22","20.0.19"],"advisory":"GHSA-c9q3-r4rv-mjm7"}],"cwes":["CWE-77"],"aliases":["GHSA-c9q3-r4rv-mjm7"],"references":[{"url":"https://github.com/OpenMage/magento-lts/security/advisories/GHSA-c9q3-r4rv-mjm7","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/OpenMage/magento-lts/commit/289bd4b4f53622138e3e5c2d2cef7502d780086f","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/OpenMage/magento-lts/releases/tag/v19.4.22","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://github.com/OpenMage/magento-lts/releases/tag/v20.0.19","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39217","tags":["advisory"]},{"url":"https://github.com/OpenMage/magento-lts","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.01379,"epssPercentile":0.72663,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-39217","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39217","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-39217","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-c9q3-r4rv-mjm7","ok":true,"note":"GHSA-c9q3-r4rv-mjm7"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-39217","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}