Vulnerability · Published Jan 21, 2026 · Assigned by VulnCheck
CVE-2021-47817OpenEMR 5.0.2.1 - Remote Code Execution
Medium 5.4
In plain English
A medium-severity cross-site scripting in OpenEMR from OpenEMR Foundation, Inc.. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities).
Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)0.8%top 42.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| OpenEMR Foundation, Inc. | OpenEMR | 5.0.2.1 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
References
- ExploitDB-49784 exploit
- OpenEMR Official Website product
- OpenEMR 5.0.2.1 Download product
- SonarSource Vulnerability Analysis vendor-advisory
- Vulnerability Demonstration Video technical-description
- VulnCheck Advisory: OpenEMR 5.0.2.1 - Remote Code Execution third-party-advisory