{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "5.0.1.3"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "913ca74fc5b0a7cf7775db21e421d5fdf6d815b8"
            }
          ],
          "repo": "https://github.com/openemr/openemr",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "SQL injection vulnerability in interface/patient_file/encounter/search_code.php in versions of OpenEMR before 5.0.1.4 allows a remote authenticated attacker to execute arbitrary SQL commands via the 'text' parameter.",
  "id": "CVE-2018-15148",
  "modified": "2026-04-01T23:08:58.181527644Z",
  "published": "2018-08-15T17:29:01.173Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/openemr/openemr/pull/1757/files"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.databreaches.net/openemr-patches-serious-vulnerabilities-uncovered-by-project-insecurity/"
    },
    {
      "type": "FIX",
      "url": "https://www.open-emr.org/wiki/index.php/OpenEMR_Patches"
    },
    {
      "type": "EVIDENCE",
      "url": "https://insecurity.sh/reports/openemr.pdf"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}