CVE-2021-47817
JSON

4.8medium

OpenEMR 5.0.2.1 - Remote Code Execution

Severity
4.8medium CVSS:4.0 by VulnCheck
Exploit likelihood
2.38% (higher than 84% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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.

Affected

Product or packageVersionsReported by
OpenEMR Foundation, Inc. OpenEMR5.0.2.1CVE List
open-emr openemr5.0.2.1NVD

All scores

VulnCheck4.8medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
VulnCheck5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

OpenEMR 5.0.2.1 contiene una vulnerabilidad de cross-site scripting que permite a atacantes autenticados inyectar JavaScript malicioso a través de los parámetros del perfil de usuario. Los atacantes pueden explotar la vulnerabilidad creando una carga útil maliciosa para descargar y ejecutar una web shell, lo que permite la ejecución remota de comandos en la instancia vulnerable de OpenEMR.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-47817 changed 2026-05-25CVE Terms of Use
NVDCVE-2021-47817 changed 2026-06-17Public domain