High severity · published May 7, 2021
CVE-2021-32104
A SQL injection vulnerability exists (with user privileges) in interface/forms/eye_mag/save.php in OpenEMR 5.0.2.1
8.8
CVSS
1.2%
EPSS
No
On KEV
Description
A SQL injection vulnerability exists (with user privileges) in interface/forms/eye_mag/save.php in OpenEMR 5.0.2.1.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.2% · higher than 67% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
OP
Openemr · Open-emr
5.0.2.1 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-32104
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-32104
Third Party Advisory
https://blog.sonarsource.com/openemr-5-0-2-1-command-injection-vulnerability
Vendor Advisory
https://community.open-emr.org/t/openemr-5-0-2-patch-5-has-been-released/15431
Third Party Advisory
https://community.sonarsource.com/t/openemr-5-0-2-1-command-injection-vulnerability-puts-health-records-at-risk/33592
Third Party Advisory
https://portswigger.net/daily-swig/healthcare-security-openemr-fixes-serious-flaws-that-lead-to-command-execution-in-patient-portal
Patch
https://www.open-emr.org/wiki/index.php/Old_Outdated_OpenEMR_Patches
More from Openemr
9.9
CVE-2026-24848
OpenEMR Arbitrary File Write leading to Remote Code Execution
9.8
CVE-2026-24898
OpenEMR has an Unauthenticated MedEx Token Disclosure
9.8
CVE-2024-22611
OpenEMR 7.0.2 is vulnerable to SQL Injection via \openemr\library\classes\Pharmacy.class.php, \controllers\C_Pharmacy.class.php and \openemr\controller.php
9.8
CVE-2024-37734
An issue in OpenEMR 7.0.2 allows a remote attacker to escalate privileges viaa crafted POST request using the noteid parameter
9.8
CVE-2020-13567
Multiple SQL injection vulnerabilities exist in phpGACL 3.3.7
