{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "5.0.1.4"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "8f6b1724e1a71df6a4c2ba0aeaf900a877b20546"
            }
          ],
          "repo": "https://github.com/openemr/openemr",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "Directory traversal in portal/import_template.php in versions of OpenEMR before 5.0.1.4 allows a remote attacker authenticated in the patient portal to delete arbitrary files via the \"docid\" parameter when the mode is set to delete.",
  "id": "CVE-2018-15141",
  "modified": "2026-03-13T21:50:04.314059136Z",
  "published": "2018-08-13T18:29:00.527Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.databreaches.net/openemr-patches-serious-vulnerabilities-uncovered-by-project-insecurity/"
    },
    {
      "type": "FIX",
      "url": "https://github.com/openemr/openemr/pull/1765/files"
    },
    {
      "type": "EVIDENCE",
      "url": "https://www.exploit-db.com/exploits/45202/"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N",
      "type": "CVSS_V3"
    }
  ]
}