{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "5.0.2.1"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "728f4bdd4f8c729944c5544589f81374cec7c4f4"
            }
          ],
          "repo": "https://github.com/openemr/openemr",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "The Patient Portal of OpenEMR 5.0.2.1 is affected by a Command Injection vulnerability in /interface/main/backup.php. To exploit the vulnerability, an authenticated attacker can send a POST request that executes arbitrary OS commands via shell metacharacters.",
  "id": "CVE-2020-36243",
  "modified": "2026-03-15T21:46:37.232598191Z",
  "published": "2021-02-07T20:15:12.437Z",
  "references": [
    {
      "type": "FIX",
      "url": "https://www.open-emr.org/wiki/index.php/OpenEMR_Patches"
    },
    {
      "type": "FIX",
      "url": "https://community.open-emr.org/t/openemr-5-0-2-patch-5-has-been-released/15431"
    },
    {
      "type": "FIX",
      "url": "https://community.sonarsource.com/t/openemr-5-0-2-1-command-injection-vulnerability-puts-health-records-at-risk/33592"
    },
    {
      "type": "EVIDENCE",
      "url": "https://blog.sonarsource.com/openemr-5-0-2-1-command-injection-vulnerability"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}