CVE-2026-126465

OpenEMR before 8.5.0 SQL Injection via OnsiteActivityView _BitwiseAnd Criteria

High published · updated

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

Description

OpenEMR before 8.5.0 contains an SQL injection vulnerability in the patient portal api/onsiteactivityviews endpoint that allows any authenticated staff user to inject SQL through unquoted Id_BitwiseAnd Criteria values. Attackers can close the bitwise parenthesis and append OR or UNION SELECT clauses to read patient PHI, staff password hashes, MySQL authentication strings, and API tokens.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
openemr openemr 0 → <8.5.08.5.0 CVE.org
openemr open-emr <8.5.08.5.0 NVD

References