# CVE-2021-39217: OpenMage LTS arbitrary command execution in custom layout update through blocks

- Severity: High 7.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.43%, higher than 73% of CVEs (2026-12-01)
- Published: 2023-01-27T00:54:46.000Z
- Modified: 2026-07-08T06:29:36.452Z
- Also known as: GHSA-c9q3-r4rv-mjm7
- Weaknesses: CWE-77
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- OpenMage magento-lts: < 19.4.22; >= 20.0.0, < 20.0.19
- openmage/magento-lts (Packagist): before 19.4.22; from 20.0.0 before 20.0.19
- openmage magento: before 19.4.22; from 20.0.0 before 20.0.19

## Every score

- GitHub_M: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/OpenMage/magento-lts/security/advisories/GHSA-c9q3-r4rv-mjm7> (third-party-advisory, web)
- <https://github.com/OpenMage/magento-lts/commit/289bd4b4f53622138e3e5c2d2cef7502d780086f> (patch, third-party-advisory, web)
- <https://github.com/OpenMage/magento-lts/releases/tag/v19.4.22> (release-notes, third-party-advisory, web)
- <https://github.com/OpenMage/magento-lts/releases/tag/v20.0.19> (release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-39217> (advisory)
- <https://github.com/OpenMage/magento-lts> (package)

## Sources

- CVE List: [CVE-2021-39217](https://www.cve.org/CVERecord?id=CVE-2021-39217), CVE Terms of Use, modified 2025-03-10
- GitHub Advisory Database: [GHSA-c9q3-r4rv-mjm7](https://github.com/advisories/GHSA-c9q3-r4rv-mjm7), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-39217](https://nvd.nist.gov/vuln/detail/CVE-2021-39217), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-39217 · Whole record: https://cve.day/CVE-2021-39217.json · Rebuilt by cve.day 2026-11-25T22:58:08.150Z
