A SQL injection vulnerability exists (with user privileges) in interface/forms/eye_mag/save.php in OpenEMR 5.0.2.1.
https://portswigger.net/daily-swig/healthcare-security-openemr-fixes-serious-flaws-that-lead-to-command-execution-in-patient-portal
https://community.sonarsource.com/t/openemr-5-0-2-1-command-injection-vulnerability-puts-health-records-at-risk/33592
https://blog.sonarsource.com/openemr-5-0-2-1-command-injection-vulnerability
https://www.open-emr.org/wiki/index.php/Old_Outdated_OpenEMR_Patches
https://community.open-emr.org/t/openemr-5-0-2-patch-5-has-been-released/15431
Source: Mitre, NVD
Published: 2021-05-07
Updated: 2026-06-17
Base Score: 6.5
Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P
Severity: Medium
Base Score: 8.8
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Severity: High
EPSS: 0.0004