Vulnerabilities · 2021 · Open-emr
CVE-2021-47817
Open-emr Openemr vulnerability
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.
Affected products
Openemr. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Open-emr Openemr runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- blog.sonarsource.com/openemr-5-0-2-1-command-injection-vulnerability?utm_medium=cpc&utm_so · Exploit
- www.exploit-db.com/exploits/49784 · Exploit
- www.vulncheck.com/advisories/openemr-remote-code-execution · Third Party Advisory
- www.youtube.com/watch?v=H8VWNwWgYJo&feature=emb_logo · Exploit
- sourceforge.net/projects/openemr/files/OpenEMR%20Current/5.0.2.1/openemr-5.0.2.tar.gz/down
- www.open-emr.org/
- nvd.nist.gov/vuln/detail/CVE-2021-47817
- cve.org/CVERecord?id=CVE-2021-47817
More vulnerabilities in Open-emr products
CVE-2025-43860CVE-2025-32967CVE-2025-32794CVE-2025-31121CVE-2025-31117CVE-2025-30161CVE-2025-30149CVE-2025-29789All 141
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.