OpenEMR 5.0.2.1 - Remote Code Execution
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Active
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| OpenEMR Foundation, Inc. | OpenEMR | 5.0.2.1 | — | No fix listed | CNA |
- OpenEMR VendorOpenEMR Foundation, Inc. Affected 5.0.2.1 Fixed in — No fix listed CNA
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2021-47817
- 2026-10-03 Alias added: GHSA-pv2r-f997-mjw4
References
More Open-Emr Openemr vulnerabilities
- TI-2024-25130 An issue in OpenEMR 7.0.2 allows a remote attacker to escalate privileges viaa crafted… CVSS 3.1CRITICAL 9.8
- TI-2024-15079 OpenEMR 7.0.2 is vulnerable to SQL Injection via… CVSS 3.1CRITICAL 9.8
- TI-2026-24664 SQL Injection Vulnerability in ajax graphs library (OpenEMR) CVSS 3.1HIGH 8.8
- TI-2013-06186 OpenEMR ≤ 4.1.1 SQL Injection Privilege Escalation and RCE CVSS 4.0HIGH 8.7
- TI-2023-30621 OpenEMR 7.0.1 Authentication Brute Force Mitigation Bypass CVSS 4.0HIGH 8.7
- TI-2026-28796 OpenEMR 8.2.0 Remote Code Execution via CategoryTree eval() Injection CVSS 4.0CRITICAL 9.4
Sources
- CVE-2021-47817 · CVE Program
- CVE-2021-47817 · NVD
- FIRST EPSS
- GHSA-pv2r-f997-mjw4 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences