SonarSource Vulnerability AnalysisVendor advisory
https://blog.sonarsource.com/openemr-5-0-2-1-command-injection-vulnerability CVE-2021-47817
MEDIUM
OpenEMR 5.0.2.1 - Remote Code Execution
Record summary
CVE-2021-47817 has a selected CVSS score of 4.8 (medium); EIP currently links 1 catalogued exploit.
Description
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.
Description source: CVE List
Exploitation context
Available material
- Catalogued exploits
- 1
CISA SSVC decision
ExploitationPoC
AutomatableNo
Technical impactPartial
CISA Coordinator · SSVC 2.0.3 · Evaluated Jan 22, 2026 · Source: CVE List
Affected products and versions
1| Product | Source | Version range | Status |
|---|---|---|---|
| CVE List | 5.0.2.1 | affected |
Proofs of concept
1Catalogued exploits
ExploitDBOpenEMR 5.0.2.1 - Remote Code ExecutionExploitDB exploitby Hato0Not analyzed1 file
References
7nvd.nist.gov
https://nvd.nist.gov/vuln/detail/CVE-2021-47817 OpenEMR 5.0.2.1 Downloadproduct
https://sourceforge.net/projects/openemr/files/OpenEMR%20Current/5.0.2.1/openemr-5.0.2.tar.gz/download ExploitDB-49784exploit
https://www.exploit-db.com/exploits/49784 OpenEMR Official Websiteproduct
https://www.open-emr.org/ VulnCheck Advisory: OpenEMR 5.0.2.1 - Remote Code ExecutionThird-party advisory
https://www.vulncheck.com/advisories/openemr-remote-code-execution Vulnerability Demonstration VideoTechnical description
https://www.youtube.com/watch?v=H8VWNwWgYJo&feature=emb_logo