CVE-2021-47817: Vulnerability in Openemr
Low urgency. 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.
CWE-79
- Exploitation
- None confirmed
- Severity
- 5.4 of 10
- Attack likelihood
- Unknown
- Fix
- None recorded
- Patch deadline
- No deadline set
Details
- Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Published
- 21 Jan 2026
- Last change
- 17 Jun 2026
Affected products
Affected versions and the first fixed release
- Openemr Version 5.0.2.1. No fixed version recorded
Advisories
Vendor and security advisories
- blog.sonarsource.com/openemr-5-0-2-1-command-injection-vulnerability
- sourceforge.net/projects/openemr/files/OpenEMR%20Current/5.0.2.1/openemr-5.0.2.tar.gz/d...
- open-emr.org
- vulncheck.com/advisories/openemr-remote-code-execution
- youtube.com/watch
Exploit code
Public exploits and proofs of concept, handle with care
Related
- Openemr vulnerabilities Recent advisories, watch this product