CVE-2021-47817

published 21 Jan 2026 · updated 25 May 2026

OpenEMR 5.0.2.1 - Remote Code Execution

6.4MediumCVSS 5.4EPSS 1%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
OpenEMR Foundation=5.0.2.1

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-47817 severity on Zeptric[![CVE-2021-47817](https://zeptric.io/badge/cve/CVE-2021-47817.svg)](https://zeptric.io/cve/CVE-2021-47817)