CVE-2026-126488

OpenEMR before 8.5.0 contains an SQL injection vulnerability in the patient portal OnsiteDocument.Query endpoint, where mass-assigned _Bitwi

High published · updated

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

Description

OpenEMR before 8.5.0 contains an SQL injection vulnerability in the patient portal OnsiteDocument.Query endpoint, where mass-assigned _BitwiseAnd criteria parameters are placed unquoted into SQL with only quote-character escaping. Authenticated portal patients can inject SQL outside their per-patient scope to read the entire database, including other patients' demographics and users_secure password hashes.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
openemr open-emr <8.5.08.5.0 NVD

References