CVE-2026-126483

OpenEMR before 8.5.0 SQL Injection via form_facility in ippf_statistics.php

Published Nov 13, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
Description
OpenEMR before 8.5.0 contains an SQL injection vulnerability that allows authenticated report users to manipulate queries by supplying a crafted form_facility value to interface/reports/ippf_statistics.php. Attackers can close the string literal in the facility_id WHERE clause and use boolean or time-based payloads to read sensitive database contents.

Analysis

AI-generated

Technical impact

OpenEMR versions prior to 8.5.0 contain a flaw in interface/reports/ippf_statistics.php that allows an authenticated user to inject arbitrary SQL through the form_facility parameter. By supplying a crafted value, an attacker can terminate the existing string literal and append Boolean or time‑based payloads, enabling extraction of sensitive database contents such as patient information or system configuration data. The vulnerability does not lead to arbitrary code execution but can compromise confidentiality of stored data.

Affected Systems

The product affected is OpenEMR from the vendor openemr. All releases before 8.5.0 are susceptible to this problem, as the remediation was included in the 8.5.0 release. No specific sub‑versions are listed as unaffected in the data provided.

Risk and Exploitability

The CVSS score of 7.1 places the vulnerability in the Medium‑High category. An EPSS score of less than 1% indicates a low probability of widespread exploitation, and the issue is not listed in the CISA KEV catalog. Based on the description, it is inferred that realistic exploitation requires a legitimate account with report‑generation privileges, and the attacker must manually craft the exploit payload. Despite the low exploitation likelihood, the potential exposure of protected health information warrants timely remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OpenEMR to version 8.5.0 or later to remove the injection point.
  • Restrict or remove access to interface/reports/ippf_statistics.php for users who do not need report generation capabilities.
  • If upgrading immediately is not possible, disable the ippf_statistics.php endpoint or enforce stricter authentication controls to prevent attackers from reaching the vulnerable input field.

Generated by OpenCVE AI on November 14, 2026 at 16:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Openemr
Openemr openemr
Vendors & Products Openemr
Openemr openemr
Type Values Removed Values Added
Description OpenEMR before 8.5.0 contains an SQL injection vulnerability that allows authenticated report users to manipulate queries by supplying a crafted form_facility value to interface/reports/ippf_statistics.php. Attackers can close the string literal in the facility_id WHERE clause and use boolean or time-based payloads to read sensitive database contents.
Title OpenEMR before 8.5.0 SQL Injection via form_facility in ippf_statistics.php
First Time appeared Open-emr
Open-emr openemr
Weaknesses CWE-89
CPEs cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*
Vendors & Products Open-emr
Open-emr openemr
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 17, 2026, 2:04 PM
Reserved
Nov 10, 2026, 9:44 PM
Status
Analyzed
Published
Nov 13, 2026, 10:17 AM
Modified
Nov 17, 2026, 2:17 PM