A SQL injection vulnerability exists (with user privileges) in interface/forms/eye_mag/save.php in OpenEMR 5.0.2.1.Referenceshttps://blog.sonarsource.com/openemr-5-0-2-1-command-injection-vulnerabilityhttps://community.sonarsource.com/t/openemr-5-0-2-1-command-injection-vulnerability-puts-health-records-at-risk/33592https://community.open-emr.org/t/openemr-5-0-2-patch-5-has-been-released/15431https://portswigger.net/daily-swig/healthcare-security-openemr-fixes-serious-flaws-that-lead-to-command-execution-in-patient-portalhttps://www.open-emr.org/wiki/index.php/Old_Outdated_OpenEMR_Patches