CVE-2021-47817
published medium CVSS 4.0 · 4.8OpenEMR 5.0.2.1 - Remote Code Execution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| OpenEMR Foundation, Inc. | — | OpenEMR5.0.2.1 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.4 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| OpenEMR Foundation, Inc. | OpenEMR | 5.0.2.1 (affected) | VulnCheck · cna |
Weaknesses
1- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
6- SonarSource Vulnerability Analysis 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
- OpenEMR 5.0.2.1 Download https://sourceforge.net/projects/openemr/files/OpenEMR%20Current/5.0.2.1/openemr-5.0.2.tar.gz/download
- ExploitDB-49784 https://www.exploit-db.com/exploits/49784
- OpenEMR Official Website https://www.open-emr.org/
- VulnCheck Advisory: OpenEMR 5.0.2.1 - Remote Code Execution https://www.vulncheck.com/advisories/openemr-remote-code-execution
- Vulnerability Demonstration Video https://www.youtube.com/watch?v=H8VWNwWgYJo&feature=emb_logo
Provider assertions
2VulnCheck · cna
OpenEMR 5.0.2.1 - Remote Code Execution
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 18de13363d083bf0a3d6677fb402004111f1d8e5c9a10cb2a0be5e0dc9603d0b
- Ingested
- 23 Sep 2026, 07:57:18 UTC
- Source record
- Official CVE record