CVE-2021-47817

MEDIUM

OpenEMR 5.0.2.1 - Authenticated Stored Cross-Site Scripting via User Profile Parameters

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2021-47817. PoCs published by Hato0.

AI-analyzed exploit summary This exploit targets OpenEMR 5.0.2.1, leveraging a command injection vulnerability to achieve remote code execution. It uses XSS to deliver a payload that writes a web shell to the target system.

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.

Exploits (1)

exploitdb WORKING POC
by Hato0 · pythonwebappsphp
https://www.exploit-db.com/exploits/49784

This exploit targets OpenEMR 5.0.2.1, leveraging a command injection vulnerability to achieve remote code execution. It uses XSS to deliver a payload that writes a web shell to the target system.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: OpenEMR 5.0.2.1
No auth needed
Prerequisites: Network access to the target · OpenEMR 5.0.2.1 without patches
devstral-2 · analyzed Feb 16, 2026 Full analysis →

Scores

CVSS v3 5.4
EPSS 0.0067
EPSS Percentile 47.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-79
Status published
Products (2)
open-emr/openemr 5.0.2.1
OpenEMR Foundation, Inc./OpenEMR 5.0.2.1
Published Jan 21, 2026
Tracked Since Feb 18, 2026