Openemr
CVE-2026-33913
HIGH
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Lifecycle Timeline
2DescriptionGitHub Advisory
OpenEMR is a free and open source electronic health records and medical practice management application. Prior to version 8.0.0.3, an authenticated user with access to the Carecoordination module can upload a crafted CCDA document containing <xi:include href="file:///etc/passwd" parse="text"/> to read arbitrary files from the server. Version 8.0.0.3 patches the issue.
AnalysisAI
OpenEMR versions prior to 8.0.0.3 contain an XML External Entity (XXE) injection vulnerability in the Carecoordination module that allows authenticated users to read arbitrary files from the server. Attackers can exploit this by uploading a maliciously crafted CCDA document containing XXE payloads to access sensitive server files such as /etc/passwd. A patch is available in version 8.0.0.3, and this vulnerability has a CVSS score of 7.7 with high confidentiality impact.
Technical ContextAI
This vulnerability affects OpenEMR (cpe:2.3:a:openemr:openemr:*:*:*:*:*:*:*:*), an open-source electronic health records and medical practice management system. The root cause is CWE-611 (Improper Restriction of XML External Entity Reference), which occurs when an XML parser is configured to process external entities without proper sanitization. The Carecoordination module's CCDA (Consolidated Clinical Document Architecture) document upload functionality fails to disable external entity processing, allowing attackers to leverage XML Include (XInclude) directives like '<xi:include href="file:///etc/passwd" parse="text"/>' to read arbitrary files from the server filesystem. This classic XXE vulnerability enables local file disclosure through XML parser exploitation.
RemediationAI
Upgrade OpenEMR to version 8.0.0.3 or later, which contains the security patch addressing the XXE vulnerability (release information available at https://github.com/openemr/openemr/releases/tag/v8_0_0_3). The specific fix is implemented in commit 67e1702c41cf486af0069bdafce19860e2cd9a11 (https://github.com/openemr/openemr/commit/67e1702c41cf486af0069bdafce19860e2cd9a11), which properly disables external entity processing in the XML parser. As a temporary workaround until patching is possible, organizations should restrict access to the Carecoordination module to only essential users, implement strict input validation and file upload monitoring, and deploy web application firewall rules to detect XXE attack patterns in CCDA document uploads. Review server logs for suspicious CCDA uploads and audit which users have accessed the Carecoordination module to identify potential exploitation attempts.
An authenticated SQL injection vulnerability exists in OpenEMR ≤ 4.1.1 Patch 14 that allows a low-privileged attacker to
Unauthenticated token disclosure in OpenEMR before 8.0.0. CVSS 10.0. PoC and patch available.
Path traversal in OpenEMR 7.0.4 disposeDocument() allows file access. PoC available.
Path traversal in OpenEMR electronic health records before fix allows authenticated users to read arbitrary files on the
SQL injection in OpenEMR electronic health records before fix. Authenticated users can execute arbitrary SQL through the
OpenEMR 7.0.2 is vulnerable to SQL Injection via \openemr\library\classes\Pharmacy.class.php, \controllers\C_Pharmacy.cl
An issue in OpenEMR 7.0.2 allows a remote attacker to escalate privileges viaa crafted POST request using the noteid par
Information disclosure in OpenEMR 5.0.2 to before 8.0.0 exposes sensitive data. PoC and patch available.
interface/fax/fax_dispatch.php in OpenEMR 4.1.0 allows remote authenticated users to execute arbitrary commands via shel
interface/globals.php in OpenEMR 2.x, 3.x, and 4.x before 4.2.0 patch 2 allows remote attackers to bypass authentication
Authentication bypass vulnerability in portal/account/register.php in versions of OpenEMR before 5.0.1.4 allows a remote
OpenEMR 5.0.0 and prior allows low-privilege users to upload files of dangerous types which can result in arbitrary code
Share
External POC / Exploit Code
Leaving vuln.today