{"id":"CVE-2018-15148","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.","modified":"2026-04-10T04:06:08.785378Z","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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openemr/openemr","events":[{"introduced":"0"},{"last_affected":"913ca74fc5b0a7cf7775db21e421d5fdf6d815b8"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"5.0.1.3"}]}}],"versions":["v2_7_2","v2_7_2-rc1","v2_7_2-rc2","v2_7_3-rc1","v2_8_0","v2_8_1","v2_8_2","v2_8_3","v2_9_0","v3_0_0","v3_0_1","v5_0_1","v5_0_1_1","v5_0_1_2","v5_0_1_3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-15148.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}