Technical impact
The vulnerability in OpenEMR's Syndromic Surveillance feature allows an authenticated user to send specially crafted values in the form_icd_codes[] POST parameter. These values are concatenated directly into an unquoted numeric IN() SQL clause without integer validation, enabling blind or UNION‑based injection. Successful exploitation permits exfiltration of patient health information, compromising confidentiality of PHI. The flaw is classified under CWE‑89 and carries a CVSS score of 7.2, indicating a high impact for those with valid credentials.
Affected Systems
OpenEMR version 8.x before 8.5.0 is affected. Administrators should verify if their installation is any 8.4 or earlier release of OpenEMR, as the product portal indicates that the vulnerability exists in all iterations prior to the 8.5.0 update.
Risk and Exploitability
The CVSS score of 7.2 reflects significant risk for information disclosure, while the EPSS score of less than 1% suggests very low exploitation probability at present. The feature requires authenticated access, so attackers would need valid user credentials or compromised accounts to submit the payload. The vulnerability is not listed in the CISA KEV catalog, implying no known widespread active exploit. Attackers would likely target the Syndromic Surveillance report page via a web browser or automated POST requests, inserting malicious payloads that bypass add_escape_custom and trigger the injection.