Skip to main content

OpenEMR EUVDEUVD-2026-119552

| CVE-2026-124448 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-11-08 VulnCheck GHSA-rwwf-mjrp-f4xx
8.6
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privileged OpenEMR user
  2. Delivery
    Upload crafted CCDA/CCD XML with on* handlers
  3. Exploit
    Clinician opens inline document preview
  4. Execution
    Hover/click/focus triggers denylist-evading handler
  5. Persist
    Script executes in clinician session
  6. Impact
    Credentialed same-origin fetch exfiltrates data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated OpenEMR account with the ability to introduce/upload a CCDA or CCD clinical document (PR:L), plus a victim clinician who opens that document using the inline 'View' preview (not raw Download) and interacts with the malicious element by hovering, clicking, or focusing it (UI:P). The payload attribute VALUES must avoid the cda.xsl denylist characters (" ' : ; ? ` { }) and the substring 'javascript', so the attacker uses quote-free, semicolon-free JavaScript (e.g. comma operator, String.fromCharCode) on on* handlers; ccd.xsl table-cell attributes (e.g. onfocus on <td>) are copied with no sanitization at all. If OpenEMR secure upload is enabled, text/xml and/or application/xml must be present in the Admin 'files_white_list'. Limiting factors that reduce real-world risk: valid authentication is needed, the victim must both preview and interact with the content, and only the inline preview sink (XSLTProcessor output as text/html) is affected - raw download does not trigger it.

Impact

This is a stored cross-site scripting flaw (CWE-79) in OpenEMR's CCDA/CCD preview XSLT (cda.xsl and ccd.xsl) with a vendor-assigned CVSS 4.0 score of 8.6 (AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:L). The signals are moderately but not maximally urgent: the attack is network-reachable with low complexity, but it is NOT unauthenticated - PR:L means an attacker needs a valid low-privileged OpenEMR account to upload the malicious document, and UI:P/Passive means a clinician must actually open and interact with (hover/click/focus) the preview for the script to fire. The vuln.today decision label is 'this_week', consistent with a serious issue that is not an emergency. There is no CISA KEV listing and no EPSS score in the provided data, so there is no evidence of active or widespread exploitation; absence of these signals is not proof of safety but does argue against mass automated attack. A detailed public PoC reference with a working-looking payload exists in the GHSA advisory, but the input does not flag it as confirmed weaponized exploit code. Net: a genuine, confirmed, patched priority for any internet-exposed OpenEMR instance - especially given the healthcare context and session-theft impact - but its exploitation is gated by authentication and victim interaction rather than being a drive-by remote takeover, so it ranks below a PR:N/UI:N critical. Note the high VC:H/VI:H rating reflects clinician-session compromise; whether integrity impact is truly High depends on what actions the hijacked clinician session can perform.

Exploit ScenarioDerived

A low-privileged but authenticated OpenEMR user uploads a crafted CCDA/CCD XML document into a patient's Documents whose elements carry onmouseover, onclick, or onfocus handlers with denylist-evading (quote-free) values. When a clinician later opens that document with the inline preview and hovers, clicks, or focuses the payload element, attacker JavaScript runs in the clinician's authenticated session - for example issuing a same-origin credentialed fetch that exfiltrates data or acts as the clinician. A public PoC reference with a full payload exists in the GHSA advisory; it is not verified in the input as confirmed working exploit code.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 08, 2026

Stored cross-site scripting in OpenEMR's CCDA/CCD clinical document preview allows an authenticated user who can introduce a crafted CCDA/CCD XML document to run script in a clinician's browser session when that document is opened with the inline 'View' preview. The flaw is an incomplete fix following CVE-2026-33932 (GHSA-g77x-9p3x-2j8f): cda.xsl still copies attacker-controlled event-handler attributes (onmouseover, onclick, onfocus) when their values avoid a small character denylist, and ccd.xsl copies table-cell attributes into preview HTML with no sanitization at all. Exploitation requires a valid OpenEMR account able to upload the document plus a victim who previews it and hovers, clicks, or focuses the malicious element, so it is not unauthenticated, but a public PoC reference with full reproduction steps and a working payload is documented in the vendor advisory; it is not verified here as packaged working exploit code, and no CISA KEV entry exists for this CVE.

RemediationAI

Vendor-released patch: upgrade to OpenEMR 8.3.0, which contains the fix for the incomplete-hardening issue tracked as GHSA-rghp-vwvf-c2r9; the vendor advisory and VulnCheck advisory (https://github.com/openemr/openemr/security/advisories/GHSA-rghp-vwvf-c2r9) list the corrected release. Because the vendor rates this as a this-week priority and a public PoC reference with reproduction steps is published, schedule the upgrade promptly if you cannot apply it immediately. Compensating controls until 8.3.0 is deployed: if secure upload is enabled, remove text/xml and application/xml from the Admin 'files_white_list' so crafted CCDA XML cannot be introduced, accepting that legitimate XML document uploads will also be blocked; restrict who may upload documents in the CCD and CCDA categories to trusted staff, since a valid authenticated account is a prerequisite; and avoid or disable the inline 'View' preview for CCD/CCD-A documents, forcing raw Download instead, with the trade-off that clinicians lose in-application document rendering. The advisory additionally proposes developer-side hardening - per-element attribute allowlisting that never copies on*, style, srcdoc or formaction, running HTMLPurifier over the XSLT-produced HTML before output, applying the same policy to ccd.xsl and qrda.xsl, and adding a Content-Security-Policy on preview responses as defense in depth.

Affected VersionsENISA

OpenEMR 0 <8.3.0

Affected Packages

euvd openemr fix: 8.3.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

OpenEMR renders HL7 v3 Clinical Document Architecture (CDA/CCD) XML into HTML for in-application preview using PHP's XSLTProcessor with two stylesheets shipped under interface/modules/zend_modules/public/xsl/: cda.xsl and ccd.xsl, with output served as text/html by the EncountermanagerController::previewDocumentAction and DocumentsController preview sinks. The root cause is CWE-79 stemming from XSLT templates that copy source XML attributes wholesale rather than allowlisting them: cda.xsl's 'output-attrs' template rejects attribute values containing the substring 'javascript' or characters from a small denylist (quotes, colon, semicolon, question mark, backtick, braces, ellipsis) and then performs <xsl:copy-of select="."/>, which leaves attribute names unchecked so on* handlers survive whenever their values are quote-free and semicolon-free (comma operators and String.fromCharCode are enough to build payloads). ccd.xsl's table templates use a bare <xsl:copy-of select="@*"/> with no checks at all, so handlers such as onfocus on a <td> pass through untouched. Because the injected HTML is produced inside the clinician's authenticated session, same-origin fetch() calls carry session cookies by default, letting the script read and act on authenticated application state. This is a distinct root cause from the earlier linkHtml 'javascript:' URL hardening; the vendor's recommended fix is per-element attribute allowlisting (never copy on*, style, srcdoc, formaction), HTMLPurifier-style sanitization of the XSLT output before echo, aligning ccd.xsl and qrda.xsl to the same policy, and adding CSP on preview responses.

Know when Openemr gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.6 HIGH
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
vuln.today AI 8.9 HIGH

Authenticated uploader (PR:L) and required clinician preview interaction (UI:R); script runs in the victim's session across a trust boundary (S:C) yielding session/data compromise.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 08, 2026 - 14:01 EUVD
CVE Published
Nov 08, 2026 - 13:15 cve.org
HIGH 8.6

DescriptionCVE.org

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.

Technical POC Analysis

CWE-79 (improper neutralization of input during web page generation), specifically stored XSS introduced by XSLT that copies attacker-controlled attributes verbatim into preview HTML.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

OpenEMR's clinical document preview contains a stored cross-site scripting flaw that lets authenticated users inject malicious scripts into CCDA/CCD files, potentially compromising clinician sessions when viewed. This could lead to unauthorized actions, data exposure, or further network compromise within healthcare environments, affecting patient safety and regulatory compliance.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 83% exploitable
Prevalence
Medium
popular open-source EHR, common in clinics but not ubiquitous infrastructure
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Medium
Technical Impact
Total

Priority Score

43
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +43
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2013-10044 HIGH POC
8.7 Aug 01

An authenticated SQL injection vulnerability exists in OpenEMR ≤ 4.1.1 Patch 14 that allows a low-privileged attacker to

CVE-2026-24898 CRITICAL POC
10.0 Mar 03

Unauthenticated token disclosure in OpenEMR before 8.0.0. CVSS 10.0. PoC and patch available.

CVE-2026-24848 CRITICAL POC
9.9 Mar 03

Path traversal in OpenEMR 7.0.4 disposeDocument() allows file access. PoC available.

CVE-2026-24849 CRITICAL POC
9.9 Feb 25

Path traversal in OpenEMR electronic health records before fix allows authenticated users to read arbitrary files on the

CVE-2026-24908 CRITICAL POC
9.9 Feb 25

SQL injection in OpenEMR electronic health records before fix. Authenticated users can execute arbitrary SQL through the

CVE-2024-22611 CRITICAL POC
9.8 Apr 03

OpenEMR 7.0.2 is vulnerable to SQL Injection via \openemr\library\classes\Pharmacy.class.php, \controllers\C_Pharmacy.cl

CVE-2024-37734 CRITICAL POC
9.8 Jun 26

An issue in OpenEMR 7.0.2 allows a remote attacker to escalate privileges viaa crafted POST request using the noteid par

CVE-2026-25146 CRITICAL POC
9.6 Mar 03

Information disclosure in OpenEMR 5.0.2 to before 8.0.0 exposes sensitive data. PoC and patch available.

CVE-2026-39932 CRITICAL POC
9.4 Aug 03

Remote code execution in OpenEMR through 8.2.0 lets an authenticated administrator poison the document category tree so

CVE-2012-0992 HIGH POC
8.5 Feb 07

interface/fax/fax_dispatch.php in OpenEMR 4.1.0 allows remote authenticated users to execute arbitrary commands via shel

CVE-2026-124450 CRITICAL POC
9.3 Nov 08

Authenticated low-privilege users can exploit OpenEMR before 8.3.0 to read and write arbitrary files through the fax/sms

CVE-2015-4453 MEDIUM
5.0 Jul 05

interface/globals.php in OpenEMR 2.x, 3.x, and 4.x before 4.2.0 patch 2 allows remote attackers to bypass authentication

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy