CVE-2026-126425

OpenEMR before 8.5.0 Stored SQL Injection via History Layout Field Identifiers

Medium published · updated

4.6
CVSS score out of 10 · NVD (vulncheck.com)

Description

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
openemr openemr 0 → <8.5.08.5.0 CVE.org
openemr open-emr <8.5.08.5.0 NVD

References