CVE-2026-126492

OpenEMR before 8.5.0 Second-Order SQL Injection via dynamic_finder.php

High published · updated

7.1
CVSS score out of 10 · NVD (vulncheck.com)

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
openemr openemr 0 → <8.5.08.5.0 CVE.org
openemr open-emr <8.5.08.5.0 NVD

References