Description
OpenEMR before 8.3.0 contains a stored cross-site scripting vulnerability in the CCDA/CCD preview stylesheets, where cda.xsl copies event-handler attributes whose values evade a character denylist and ccd.xsl copies table-cell attributes unsanitized into preview HTML. Authenticated users can upload a crafted CCDA/CCD document with onmouseover, onclick, or onfocus handlers to execute script in a clinician's session when previewed.
Published: 2026-11-08
Score: 8.6 High
EPSS: n/a
KEV: No
Impact: Stored Cross‑Site Scripting that enables attackers to execute JavaScript in a clinician’s browser context.
Action: Apply Patch
AI Analysis

Impact

OpenEMR versions before 8.3.0 contain a stored cross‑site scripting flaw in the CCDA/CCD preview feature. The application copies event‑handler attributes from uploaded CCDA/CCD documents into the preview HTML without proper filtering, allowing a crafted onmouseover, onclick, or onfocus handler to run in the browser of any user who opens the preview. An attacker who can authenticate to the system can upload a malicious document and trigger the script when another authenticated clinician views the preview, compromising confidentiality and integrity of the session.

Affected Systems

All installations of OpenEMR running a version earlier than 8.3.0 are vulnerable. The problem resides in the CCDA/CCD preview stylesheets cda.xsl and ccd.xsl, which are used by all hospitals or clinics that store CCDA/CCD documents within the system.

Risk and Exploitability

The vulnerability carries a CVSS score of 8.6, indicating high severity. EPSS data is not available, so the current exploitation probability cannot be quantified. The flaw is not listed in the CISA KEV catalog. Because the attacker must have authenticated access to upload a CCDA/CCD document, the attack vector is local to the application, but the impact is that the victim’s session can be hijacked or exposed to unauthorized scripts through the preview functionality.

Generated by OpenCVE AI on November 8, 2026 at 14:23 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OpenEMR to version 8.3.0 or later, following the vendor’s upgrade guide.
  • After the upgrade, test the CCDA/CCD preview by loading a CCDA/CCD file that includes benign event‑handler attributes to verify that they are no longer rendered.
  • Continuously monitor user activity and log files for abnormal CCDA/CCD uploads that attempt to embed script, and adjust the application’s input validation if needed.

Generated by OpenCVE AI on November 8, 2026 at 14:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 08 Nov 2026 13:30:00 +0000

Type Values Removed Values Added
Description OpenEMR before 8.3.0 contains a stored cross-site scripting vulnerability in the CCDA/CCD preview stylesheets, where cda.xsl copies event-handler attributes whose values evade a character denylist and ccd.xsl copies table-cell attributes unsanitized into preview HTML. Authenticated users can upload a crafted CCDA/CCD document with onmouseover, onclick, or onfocus handlers to execute script in a clinician's session when previewed.
Title OpenEMR before 8.3.0 Stored XSS via CCDA/CCD Preview XSLT Attributes
First Time appeared Open-emr
Open-emr openemr
Weaknesses CWE-79
CPEs cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*
Vendors & Products Open-emr
Open-emr openemr
References
Metrics cvssV3_1

{'score': 7.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L'}

cvssV4_0

{'score': 8.6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N'}


Subscriptions

Open-emr Openemr
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-08T13:15:40.313Z

Reserved: 2026-11-08T02:14:31.305Z

Link: CVE-2026-124448

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-08T14:18:11.960

Modified: 2026-11-08T14:18:11.960

Link: CVE-2026-124448

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-08T14:30:16Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')