CVE-2021-47817

MEDIUM EPSS 47.2%
Published Jan 21, 20265mo ago · Modified Jun 17, 20262w ago
4.8 CVSS 4.0
Medium
Find Similar
Published Jan 21, 2026 5mo ago
Last Modified Jun 17, 2026 2w ago

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.

CVSS Details

Base Score
4.8
Exploitability
Impact
Vector string
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector Network
Attack Complexity Low
Privileges Required Low
User Interaction A
Scope X

Threat Intelligence

EPSS Exploit Probability
47.2% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available

Weaknesses 1

CWE-79 Cross-site Scripting Injection

Affected Products 1

VendorProductVersionRange
open-emropenemr5.0.2.1any

References 6

  • blog.sonarsource.com 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
    ExploitPatchThird Party Advisory
  • sourceforge.net https://sourceforge.net/projects/openemr/files/OpenEMR%20Current/5.0.2.1/openemr-5.0.2.tar.gz/download
    Product
  • exploit-db.com https://www.exploit-db.com/exploits/49784
    ExploitThird Party AdvisoryVDB Entry
  • open-emr.org https://www.open-emr.org/
    Product
  • vulncheck.com https://www.vulncheck.com/advisories/openemr-remote-code-execution
    Third Party Advisory
  • youtube.com https://www.youtube.com/watch?v=H8VWNwWgYJo&feature=emb_logo
    Exploit

Remediation

  • blog.sonarsource.com 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
    ExploitPatchThird Party Advisory