CVE-2026-126489
Description
OpenEMR before 8.5.0 contains a second-order SQL injection vulnerability in the IPPF contraceptive issue feature because issue_ippf_con_save concatenates layout_options field_id values into a REPLACE INTO query as column names. Authenticated administrators can add a malicious field_id via edit_layout.php, then trigger issue_ippf_con_save through add_edit_issue.php to execute arbitrary SQL.
How to fix
- openemr openemr8.5.0 or later
- open-emr openemr8.5.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| openemr openemr | v < 8.5.0 | 8.5.0 |
| open-emr openemr | v < 8.5.0 | 8.5.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.