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.
References
| Link | Resource |
|---|---|
| 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 |
| https://sourceforge.net/projects/openemr/files/OpenEMR%20Current/5.0.2.1/openemr-5.0.2.tar.gz/download | Product |
| https://www.exploit-db.com/exploits/49784 | Exploit Third Party Advisory VDB Entry |
| https://www.open-emr.org/ | Product |
| https://www.vulncheck.com/advisories/openemr-remote-code-execution | Third Party Advisory |
| https://www.youtube.com/watch?v=H8VWNwWgYJo&feature=emb_logo | Exploit |
Configurations
History
No history.
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')
