CVE-2021-47817OpenEMR 5.0.2.1 - Remote Code Execution
Updated under an hour ago ()
Does this affect you?
It affects OpenEMR Foundation, Inc. OpenEMR and 1 other product. Add what you run to find out whether that includes you.
EPSS puts the chance of exploitation in the next 30 days at 0.82%, higher than 56% of scored CVEs.
Do this next
Free account, 1 product
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.
- CVSS
- 5.4 MEDIUM (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Weakness (CWE)
- CWE-79
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- 0.82% (percentile 56)
- Assigned by
- VulnCheck
- NVD analysis
- Modified
- Record last updated
- May 25, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
OpenEMR Foundation, Inc. OpenEMR openemr_foundation:openemr (from the name) | 5.0.2.1 | CNA record |
open-emr openemr open-emr:openemr | 5.0.2.1 | NVD |
References
- https://www.exploit-db.com/exploits/49784exploit, third-party-advisory, vdb-entry
- https://www.open-emr.org/product
- https://sourceforge.net/projects/openemr/files/OpenEMR%20Current/5.0.2.1/openemr-5.0.2.tar.gz/downloadproduct
- https://blog.sonarsource.com/openemr-5-0-2-1-command-injection-vulnerability?utm_medium=cpc&utm_source=twitter&utm_campaign=openemr&utm_term=security&utm_content=tofuvendor-advisory, exploit, patch, third-party-advisory
- https://www.youtube.com/watch?v=H8VWNwWgYJo&feature=emb_logotechnical-description, exploit
- https://www.vulncheck.com/advisories/openemr-remote-code-executionthird-party-advisory
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.