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.
CVE-2026-126489
CVSS base score
7.2 (v3.1)
Severity
HIGH
Attack vector
Network
Weakness
CWE-89
Last modified
November 13, 2026
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Affected products
open-emr openemr
References
- github.com Exploit, Vendor Advisory
- www.vulncheck.com Third Party Advisory
- github.com Exploit, Vendor Advisory