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.
Metrics
CVSS 3.1 8.1/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| openemr | openemr | < 8.5.0 |
References
- https://github.com/openemr/openemr/security/advisories/GHSA-wh28-4qcg-5hccExploit, Vendor Advisory
- https://www.vulncheck.com/advisories/openemr-before-8.5.0-sql-injection-via-ccr-revandapprove-field-namesThird Party Advisory
- https://github.com/openemr/openemr/security/advisories/GHSA-wh28-4qcg-5hccExploit, Vendor Advisory
Timeline
- Published
- Nov 13, 2026
- Last modified
- Nov 20, 2026
- NVD status
- Modified