{"id":"CVE-2026-126425","published":"2026-11-13T09:35:30Z","modified":"2026-11-17T20:37:58Z","title":"OpenEMR before 8.5.0 Stored SQL Injection via History Layout Field Identifiers","vendor":"openemr","product":"openemr","tier":"tail","description":{"text":"OpenEMR before 8.5.0 contains a stored SQL injection vulnerability in which History layout field identifiers saved through edit_layout.php, including HIS fields and LBF source-H fields, are placed unvalidated into an INSERT statement for patients without a history_data row. Users with admin/super and patients/med write access can trigger history_save.php or LBF saves to execute SQL functions like SLEEP, tying up database workers or accessing data beyond their privileges.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00314,"percentile":0.24743,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/openemr/openemr/security/advisories/GHSA-fq58-jp5g-x44q","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/openemr-before-8.5.0-stored-sql-injection-via-history-layout-field-identifiers","tags":["third-party-advisory"]}],"priority":{"score":10.0,"factors":[{"name":"EPSS percentile","points":4.95},{"name":"CVSS severity","points":5.04}]},"vendorSlug":"openemr","affectedVersions":[{"vendor":"openemr","product":"openemr","versions":["< 8.5.0"]}],"fixedVersions":[{"vendor":"openemr","product":"openemr","versions":["8.5.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-17T20:24:18.868674Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-125018","exploited":false,"provenance":"source"}}