{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "19.4.22"
              },
              {
                "introduced": "20.0.0"
              },
              {
                "fixed": "20.0.19"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "d28003ffa21be11591a7182840abc7b44bdf7d14"
            },
            {
              "introduced": "16c8e84ddaf5d54eef1e025a241bdd5f9a60bd6f"
            },
            {
              "fixed": "e527e810970798b7c1ecfe1cf8d20a3e7a9aa238"
            },
            {
              "fixed": "289bd4b4f53622138e3e5c2d2cef7502d780086f"
            }
          ],
          "repo": "https://github.com/openmage/magento-lts",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "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.",
  "id": "CVE-2021-39217",
  "modified": "2026-03-15T13:47:40.792227441Z",
  "published": "2023-01-27T18:15:09.087Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/OpenMage/magento-lts/releases/tag/v19.4.22"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/OpenMage/magento-lts/releases/tag/v20.0.19"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/OpenMage/magento-lts/security/advisories/GHSA-c9q3-r4rv-mjm7"
    },
    {
      "type": "FIX",
      "url": "https://github.com/OpenMage/magento-lts/commit/289bd4b4f53622138e3e5c2d2cef7502d780086f"
    }
  ],
  "related": [
    "GHSA-c9q3-r4rv-mjm7"
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}