{"id":"CVE-2018-17181","details":"An issue was discovered in OpenEMR before 5.0.1 Patch 7. SQL Injection exists in the SaveAudit function in /portal/lib/paylib.php and the portalAudit function in /portal/lib/appsql.class.php.","modified":"2026-03-14T09:28:40.258616Z","published":"2019-05-17T16:29:00.453Z","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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openemr/openemr","events":[{"introduced":"0"},{"fixed":"d0cdc01d817fc9df328e8d1b64c85f9ac09607f9"},{"fixed":"4963fe4932a0a4e1e982642226174e9931d09541"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"5.0.1.7"}]}}],"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","v5_0_1_4","v5_0_1_5","v5_0_1_6"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-17181.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}