---
id: "CVE-2026-124448"
page: "https://infrastack.ai/live/CVE-2026-124448"
kind: "vulnerability"
aliases: ["CVE-2026-124448"]
title: "OpenEMR: stored script injection in CCDA preview lets attackers run code"
severity: "high"
cvss: 8.6
epss: null
exploited: false
status: "open"
category: "other"
products: []
ecosystems: []
tags: ["healthcare", "openemr", "other", "self-hosted"]
not_affected_if: ["no-ccda-upload", "openemr-8.3.0-or-later"]
published_at: "2026-11-08T14:18:11+00:00"
first_seen_at: "2026-11-08T14:48:39+00:00"
updated_at: "2026-11-08T14:49:15+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-124448", "first_seen_at": "2026-11-08T14:48:39+00:00"}]
exploit_sources: []
---

# OpenEMR: stored script injection in CCDA preview lets attackers run code

Link for people: https://infrastack.ai/live/CVE-2026-124448 (this .md is for agents)

OpenEMR before 8.3.0 fails to strip event-handler attributes from CCDA/CCD preview stylesheets, so a crafted uploaded document can carry script. When a clinician previews that document, the script runs in their session and can act as them inside the record system.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed OpenEMR version against the fixed release in the product ranges; affected versions are those before `8.3.0`.
- Look for a CCDA/CCD upload or preview feature in use (unknown whether the sources name a specific menu path).

## Fix

- OpenEMR: upgrade to `8.3.0` or later.

## Timeline

- 2026-11-08T14:48:39+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-124448

## Documents

- [advisory] Vendor advisory: github.com https://github.com/openemr/openemr/security/advisories/GHSA-rghp-vwvf-c2r9
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/openemr-before-8.3.0-stored-xss-via-ccda-ccd-preview-xslt-attributes

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
