OpenEMR before 8.5.0 Second-Order SQL Injection via dynamic_finder.php
- State
- Published
- Severity
- 7.1 High
- Published
- Nov 13, 2026
- Updated
- Nov 13, 2026
- Reserved
- Nov 10, 2026
Description
OpenEMR before 8.5.0 contains a second-order sql injection vulnerability that allows low-privileged authenticated users to store malicious SQL via library/ajax/addlistitem.php. Attackers can persist a SQL fragment in the recent_patient_columns option_id value, which dynamic_finder.php concatenates into a SELECT query and executes as SQL.
| Product | Versions |
|---|---|
| openemr openemr | before 8.5.0 Affected8.5.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-hrf6-qx6w-vgh9)Vendor Advisory
- VulnCheck Advisory: OpenEMR before 8.5.0 Second-Order SQL Injection via dynamic_finder.phpThird-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.