CVE-2021-47817

OpenEMR 5.0.2.1 contains a cross-site scripting vulnerability that allows authenticated attackers to inject malicious JavaScript through user profile parameters. 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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:open-emr:openemr:5.0.2.1:*:*:*:*:*:*:*

History

02 Feb 2026, 17:40

Type Values Removed Values Added
CPE cpe:2.3:a:open-emr:openemr:5.0.2.1:*:*:*:*:*:*:*
First Time Open-emr openemr
Open-emr
References () https://blog.sonarsource.com/openemr-5-0-2-1-command-injection-vulnerability?utm_medium=cpc&utm_source=twitter&utm_campaign=openemr&utm_term=security&utm_content=tofu - () https://blog.sonarsource.com/openemr-5-0-2-1-command-injection-vulnerability?utm_medium=cpc&utm_source=twitter&utm_campaign=openemr&utm_term=security&utm_content=tofu - Exploit, Patch, Third Party Advisory
References () https://sourceforge.net/projects/openemr/files/OpenEMR%20Current/5.0.2.1/openemr-5.0.2.tar.gz/download - () https://sourceforge.net/projects/openemr/files/OpenEMR%20Current/5.0.2.1/openemr-5.0.2.tar.gz/download - Product
References () https://www.exploit-db.com/exploits/49784 - () https://www.exploit-db.com/exploits/49784 - Exploit, Third Party Advisory, VDB Entry
References () https://www.open-emr.org/ - () https://www.open-emr.org/ - Product
References () https://www.vulncheck.com/advisories/openemr-remote-code-execution - () https://www.vulncheck.com/advisories/openemr-remote-code-execution - Third Party Advisory
References () https://www.youtube.com/watch?v=H8VWNwWgYJo&feature=emb_logo - () https://www.youtube.com/watch?v=H8VWNwWgYJo&feature=emb_logo - Exploit

21 Jan 2026, 18:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-01-21 18:16

Updated : 2026-02-02 17:40


NVD link : CVE-2021-47817

Mitre link : CVE-2021-47817

CVE.ORG link : CVE-2021-47817


JSON object : View

Products Affected

open-emr

  • openemr
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')