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.
Metrics
CVSS 3.1 7.2/10
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:LWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| openemr | openemr | < 8.5.0 |
References
Timeline
- Published
- Nov 13, 2026
- Last modified
- Nov 17, 2026
- NVD status
- Analyzed