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.
References
| Link | Resource |
|---|---|
| https://github.com/openemr/openemr/security/advisories/GHSA-vvj8-xpx8-p293 | Exploit Mitigation Vendor Advisory |
| https://www.vulncheck.com/advisories/openemr-before-8.5.0-sql-injection-via-onsiteactivityview-bitwiseand-criteria | Third Party Advisory |
| https://github.com/openemr/openemr/security/advisories/GHSA-vvj8-xpx8-p293 | Exploit Mitigation Vendor Advisory |
Configurations
History
17 Nov 2026, 20:50
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/openemr/openemr/security/advisories/GHSA-vvj8-xpx8-p293 - Exploit, Mitigation, Vendor Advisory | |
| References | () https://www.vulncheck.com/advisories/openemr-before-8.5.0-sql-injection-via-onsiteactivityview-bitwiseand-criteria - Third Party Advisory | |
| First Time |
Open-emr openemr
Open-emr |
|
| CPE | cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:* |
13 Nov 2026, 20:18
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/openemr/openemr/security/advisories/GHSA-vvj8-xpx8-p293 - |
13 Nov 2026, 10:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-11-13 10:17
Updated : 2026-11-17 20:50
NVD link : CVE-2026-126465
Mitre link : CVE-2026-126465
CVE.ORG link : CVE-2026-126465
JSON object : View
Products Affected
open-emr
- openemr
CWE
CWE-89
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
