Skip to main content

OpenEMR EUVDEUVD-2026-125019

| CVE-2026-126424 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-13 VulnCheck GHSA-3m2q-vcc8-c9fr
4.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 admin/superbill billing-code editor
  2. Delivery
    Store XSS payload in shared SNOMED code description
  3. Exploit
    Clinician selects malicious code in encounter form
  4. Execution
    Description assigned to innerHTML executes script
  5. Impact
    Read same-origin patient data and act as clinician

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

Two concrete preconditions must both hold: (1) the attacker must possess an account with admin/superbill WRITE permission (the Billing Codes maintenance role) to store HTML into a shared SNOMED code description via /interface/patient_file/encounter/superbill_custom_full.php; and (2) a separate clinician must open a patient encounter and specifically select that malicious code inside the Functional and Cognitive Status form or a layout-based fee-sheet/encounter form, where the description is written to innerHTML. Limiting factors that reduce realistic risk: exploitation requires a pre-existing privileged (admin/superbill) attacker account, requires targeted active interaction by a victim clinician (it does not fire passively), affects only OpenEMR versions before 8.5.0, and is fully remediated by upgrading to 8.5.0. Payloads reach execution only through these specific SNOMED-code-selection code paths, not arbitrary pages.

Impact

This is a genuine but second-tier priority - a stored XSS (CWE-79) in OpenEMR, not a critical remote-code-execution flaw. The input CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:A, score 4.6 Medium) and the vendor advisory agree closely: exploitation needs a network path but is gated by two strong preconditions - PR:H (the attacker must already hold admin/superbill write permission to maintain billing codes) and UI:A (a clinician must actively select the specific malicious SNOMED code inside the Functional and Cognitive Status form or a layout-based fee-sheet form). The signals are mutually consistent rather than conflicting: a high-privilege, user-interaction-dependent XSS legitimately lands in the Medium band. No EPSS score and no KEV status were provided, so there is no evidence of active or widespread exploitation; absence of these is not itself a defect. The vuln.today decision label is 'this_month' (not act_now/emergency), matching a patch-on-normal-cycle urgency. The real value here is the trust-boundary crossing documented by the vendor: the admin/superbill role is scoped to code-catalog maintenance and is NOT supposed to grant access to another user's browser session, yet the innerHTML sinks let a scoped coding administrator execute script in a clinician's authenticated session to read same-origin patient data and act with clinical privileges. So the risk is insider/privilege-escalation-flavored and targeted, not mass-exploitable; prioritize it where OpenEMR separates billing-code and clinician duties, but it is not a drop-everything emergency.

Exploit ScenarioDerived

A user holding only the scoped admin/superbill (Billing Codes) permission stores an HTML payload such as <img src=x onerror=alert(1)> in a shared SNOMED code description via superbill_custom_full.php, which applies only SQL escaping and leaves HTML event handlers intact. Later, when an unsuspecting clinician opens a patient encounter and selects that code in the Functional and Cognitive Status form (or a layout-based fee-sheet form), the description is assigned to innerHTML and the script runs in the clinician's authenticated session. A detailed proof-of-concept with exact HTTP requests is published in the vendor GHSA advisory; it is not independently verified here as standalone weaponized exploit code. Because PR:H and targeted clinician interaction (UI:A) are both required, the attack is realistic only against an operator who already has billing-code write access.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 13, 2026

Stored cross-site scripting (CWE-79) in OpenEMR before 8.5.0 lets an account holding admin/superbill write permission plant HTML inside a shared SNOMED code description via superbill_custom_full.php, which then runs as JavaScript in a clinician's authenticated session when that clinician manually selects the poisoned code in the Functional and Cognitive Status form or a layout-based fee-sheet form, allowing same-origin reads of patient data and actions under the clinician's privileges. The vendor advisory documents a step-by-step proof-of-concept reproduction; there is no indication of active exploitation and the issue is not in CISA KEV. Exploitation needs both a pre-existing privileged billing-code account and targeted interaction by a victim clinician, so despite the session-crossing impact this is a genuine but second-tier priority that is fully resolved by upgrading to 8.5.0.

RemediationAI

Upgrade OpenEMR to 8.5.0, the vendor-released fixed version, which is the complete remediation per the GHSA-qv97-cvw6-8j53 advisory (https://github.com/openemr/openemr/security/advisories/GHSA-qv97-cvw6-8j53). Because the flaw's first precondition is possession of admin/superbill write permission, reducing exposure before upgrading means restricting that ACL to a small set of trusted billing administrators and auditing the codes table for code_text entries containing HTML markup such as img/onerror payloads left behind by the editor; both measures lower the attack surface but are only compensating steps, since the root cause is that SQL escaping in the editor never strips HTML and the clinician-side renderers still assign descriptions to innerHTML, so neither substitutes for the 8.5.0 upgrade. No vendor-documented feature toggle for the affected code-selection paths is provided in the available sources.

Affected VersionsENISA

OpenEMR 0 <8.5.0

Affected Packages

euvd openemr fix: 8.5.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 is a PHP electronic health record application storing billing/coding data in a MySQL-backed codes table whose code_text column holds SNOMED description text. The vulnerability is CWE-79 stored XSS arising from an encoding-boundary mismatch: the code editor in interface/patient_file/encounter/superbill_custom_full.php does enforce the admin/superbill ACL write check and CSRF validation, but it applies only SQL escaping (ffescape) to code_text, which neutralizes SQL metacharacters and leaves HTML event handlers intact. The code finder then reads that stored description and uses attr_js() to embed it in an onclick handler, preserving the raw HTML, and the Functional and Cognitive Status form's set_related() function writes the returned codedesc value directly to innerHTML, so markup such as an img tag with a failing src and onerror handler becomes active script. A second, independent sink exists in library/ajax/code_attributes_ajax.php, which returns the same description as a correctly quoted JavaScript string; layout-based encounter forms then concatenate that value into table markup (fs_append_service()) that is assigned to innerHTML. Because JavaScript string escaping does not sanitize HTML, both paths convert catalog text into executable content. The trigger is not passive: the payload only reaches these specific SNOMED-code-selection code paths after a clinician actively searches for and picks the malicious code.

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 4.6 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 4.8 MEDIUM

Web-reachable (AV:N/AC:L) but needs admin/superbill write (PR:H) and a clinician to select the code (UI:R); injected script runs in a different user's session so S:C, with limited read/act impact (C:L/I:L).

3.1 AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:H/UI:A/VC:L/VI:L/VA:N/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
High
User Interaction
Active
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Nov 13, 2026 - 10:02 EUVD

DescriptionCVE.org

OpenEMR before 8.5.0 contains a stored cross-site scripting vulnerability that allows users with admin/superbill write permission to inject HTML into SNOMED code descriptions via superbill_custom_full.php. When a clinician selects the malicious code, the Functional and Cognitive Status form or fee-sheet forms assign it to innerHTML, executing JavaScript in the clinician's session to read patient data and perform actions.

Threat Intelligence Overview

EPSS Score
0.3%
Top 83% exploitable
Prevalence
Medium
popular open-source EHR, real but moderate production footprint across clinics
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

23
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +23
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