OpenEMR: Stored cross-site scripting in CCDA/CCD preview (CVE-2026-124448)
OpenEMR versions before 8.3.0 are vulnerable to stored cross-site scripting via maliciously crafted CCDA/CCD document attachments that execute scripts in a clinician's session upon preview.
CVE search metadata
CVE search record: CVE-2026-124448. Severity: high. CVSS: 7.6. KEV: no. Product: OpenEMR (< 8.3.0). Brief: OpenEMR: Stored cross-site scripting in CCDA/CCD preview (CVE-2026-124448). Brief link: https://feed.craftedsignal.io/briefs/2026-11-openemr-xss/
Triage facts
Revision 1- Applicability
- OpenEMR (< 8.3.0)
- Evidence
- Unknown
- Severity
- High
- Action
- Elevated
- Sources
- 1 public source
- Freshness
- Revision 1Nov 8, 15:31 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- A1Likely
OpenEMR versions prior to 8.3.0 contain stored cross-site scripting (XSS) vulnerabilities within the CCDA/CCD preview stylesheets. Specifically, the cda.xsl and ccd.xsl files fail to properly sanitize input, allowing event-handler attributes such as onmouseover, onclick, and onfocus to be injected into previewed HTML. An authenticated attacker can upload a crafted CCDA/CCD document containing these malicious handlers to execute unauthorized JavaScript in the context of a clinician's session.
Impact
Successful exploitation allows authenticated attackers to execute arbitrary JavaScript within a clinician's session, potentially leading to unauthorized data access, session hijacking, or other actions performed with the clinician's privileges within the OpenEMR application.
Recommendation
- Upgrade OpenEMR to version 8.3.0 or later to apply the fix for CVE-2026-124448.
- Implement Content Security Policy (CSP) headers that restrict inline script execution to reduce the impact of XSS vulnerabilities.
- Audit access logs for user accounts uploading CCDA/CCD documents to identify potential abuse of the file upload functionality.
Immediate actions
Patch OpenEMR to version 8.3.0 or later
Threat Hunt
Monitor web access logs for anomalous uploads of CCDA/CCD document types by non-clinical users
Data: Web server access logs, OpenEMR application logs
Mitigations
Upgrade to OpenEMR 8.3.0
CVE-2026-124448