CVE-2021-47817
OpenEMR 5.0.2.1 - Remote Code Execution
MEDIUM 4.8EPSS 0.8%
OpenEMR 5.0.2.1 contains a cross-site scripting vulnerability in user profile parameters that authenticated attackers can chain with a file upload to achieve remote code execution. Attackers can exploit the vulnerability by crafting a malicious payload to download and execute a web shell, enabling remote command execution on the vulnerable OpenEMR instance.
- Affected
- OpenEMR Foundation, Inc. · OpenEMR
- CVSS v4.0 VULNCHECK
- 4.8 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS v3.1 VULNCHECK
- 5.4 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - EPSS
- 0.82% chance of exploitation in the next 30 days, 57th percentile
- Published
- 2026-01-21
- Updated
- 2026-05-25
Proof-of-concept exploits (1)
Security advisories
- https://blog.sonarsource.com/openemr-5-0-2-1-command-injection-vulnerability?utm_medium=c…
- https://www.vulncheck.com/advisories/openemr-remote-code-execution
- https://sourceforge.net/projects/openemr/files/OpenEMR%20Current/5.0.2.1/openemr-5.0.2.ta…
- https://www.open-emr.org