{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "5.0.1.7"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "d0cdc01d817fc9df328e8d1b64c85f9ac09607f9"
            },
            {
              "fixed": "4963fe4932a0a4e1e982642226174e9931d09541"
            }
          ],
          "repo": "https://github.com/openemr/openemr",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {},
  "details": "An issue was discovered in OpenEMR before 5.0.1 Patch 7. Directory Traversal exists via docid=../ to /portal/lib/download_template.php.",
  "id": "CVE-2018-17180",
  "modified": "2026-07-08T05:39:00.291668499Z",
  "published": "2019-05-17T16:29:00.360Z",
  "references": [
    {
      "type": "FIX",
      "url": "https://github.com/openemr/openemr/commit/4963fe4932a0a4e1e982642226174e9931d09541"
    },
    {
      "type": "FIX",
      "url": "https://www.open-emr.org/wiki/index.php/OpenEMR_Patches#5.0.1_Patch_.289.2F9.2F18.29"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
      "type": "CVSS_V3"
    }
  ]
}