Critical
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-17181
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:28 UTC · Revision 1
Source evidence
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.
osv:CVE-2018-17181
Complete source record
{
"id": "6c310c751b902c9972461904833b4d262211b608655ed3215f4564b1e211491b",
"url": "https://osv.dev/vulnerability/CVE-2018-17181",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-17181",
"summary": "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.",
"evidence": "osv:CVE-2018-17181",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2018-17181",
"aliases": [
"CVE-2018-17181"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/openemr/openemr",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "d0cdc01d817fc9df328e8d1b64c85f9ac09607f9"
},
{
"fixed": "4963fe4932a0a4e1e982642226174e9931d09541"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "5.0.1.7"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "4963fe4932a0a4e1e982642226174e9931d09541"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v5_0_1_6",
"v5_0_1_5",
"v5_0_1_4",
"v5_0_1_3",
"v5_0_1_2",
"v5_0_1_1",
"v5_0_1",
"v3_0_1",
"v3_0_0",
"v2_9_0",
"v2_8_3",
"v2_8_2",
"v2_8_1",
"v2_8_0",
"v2_7_3-rc1",
"v2_7_2",
"v2_7_2-rc2",
"v2_7_2-rc1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-17181.json"
}
}
],
"modified": "2026-10-20T10:50:21.843732932Z",
"provider": "osv",
"references": [
"https://github.com/openemr/openemr/commit/4963fe4932a0a4e1e982642226174e9931d09541",
"https://www.open-emr.org/wiki/index.php/OpenEMR_Patches#5.0.1_Patch_.289.2F9.2F18.29"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2018-17181",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 381611,
"published_at": "2019-05-17T16:29:00.453+00:00"
}