CVE-2021-47817 MEDIUM

CVE-2021-47817: OpenEMR 5.0.2.1 - Remote Code Execution

Vendor Openemr Foundation, Inc.
Product OpenEMR
Weakness CWE-79 · XSS
Published January 21, 2026
Last update May 25, 2026

CVSS base score

4.8/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction
Confidentiality
Integrity

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

January 21, 2026 CVE published
May 25, 2026 Record updated