OpenEMR before 8.4.0 SQL Injection via OnsiteDocument Query API
- State
- Published
- Severity
- 7.1 High
- Published
- Nov 8, 2026
- Updated
- Nov 9, 2026
- Reserved
- Nov 8, 2026
Description
OpenEMR before 8.4.0 contains a mass assignment vulnerability in the patient portal OnsiteDocument query API that lets request parameters set bitwise criteria filters whose values are placed unquoted into the SQL WHERE clause. Authenticated patient portal users can inject SQL via parameters such as Id_BitwiseAnd to read any database table, including other patients' records and staff password hashes.
| Product | Versions |
|---|---|
| openemr openemr | before 8.4.0 Affected8.4.0 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 7.1 High | VulnCheck | |
| 3.1 | 7.1 High | VulnCheck |
Weaknesses
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
References
- GitHub Security Advisory (GHSA-hx8r-g8gw-6g2j)Vendor Advisory
- VulnCheck Advisory: OpenEMR before 8.4.0 SQL Injection via OnsiteDocument Query APIThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.