OpenEMR before 8.5.0 SQL Injection via CCR revandapprove Field Names
- State
- Published
- Severity
- 8.6 High
- Published
- Nov 13, 2026
- Updated
- Nov 20, 2026
- Reserved
- Nov 10, 2026
Description
OpenEMR before 8.5.0 contains a SQL injection vulnerability that allows any authenticated core user to inject SQL by supplying crafted patient_data field names to the CCR revandapprove controller. Attackers can embed scalar subqueries in the UPDATE patient_data SET clause to read staff password hashes and portal reset values, alter arbitrary patient demographics, and take over patient-portal accounts.
| Product | Versions |
|---|---|
| openemr openemr | before 8.5.0 Affected8.5.0 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.6 High | VulnCheck | |
| 3.1 | 8.1 High | VulnCheck |
Weaknesses
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
References
- GitHub Security Advisory (GHSA-wh28-4qcg-5hcc)Vendor Advisory
- VulnCheck Advisory: OpenEMR before 8.5.0 SQL Injection via CCR revandapprove Field NamesThird-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.