Skip to main content

OpenEMR EUVDEUVD-2026-125025

| CVE-2026-126418 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-13 VulnCheck GHSA-v4cf-c285-xqwr
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as clinician with coding access
  2. Delivery
    Save crafted billing code via diagnosis.php
  3. Exploit
    Back Office user opens EOB invoice and types payment
  4. Execution
    Decoded quote escapes onkeyup JS string, script runs
  5. Impact
    Read/exfiltrate patient and financial data as EOB user

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 distinct authenticated roles are required: (1) the attacker must hold a Clinician account with encounters/coding write access to save a crafted billing code through interface/patient_file/encounter/diagnosis.php, and (2) a separate Back Office user with acct/eob write access must subsequently open the manual EOB invoice at interface/billing/sl_eob_invoice.php for that encounter and type a character into the Pay field of the malicious charge (UI:A) to fire the onkeyup handler. Limiting factors: no unauthenticated or default-config path, the payload only triggers on the privileged victim's keystroke in the specific EOB payment form, and the billing-code column's 20-character limit bounds payload size (the PoC uses 14 characters).

Impact

This is a moderate-severity stored XSS (CVSS 4.0 base 6.9, VC:H/VI:L) whose real-world risk is constrained by a two-actor, authenticated, interaction-dependent exploitation path rather than the raw impact score. The CVSS vector is PR:L and UI:A (active user interaction), so exploitation requires an attacker who already holds a legitimate clinician account with encounters/coding write access AND a separate privileged Back Office (acct/eob) user who must later open the manual EOB invoice and type into the Pay field - this is not drive-by or unauthenticated. No CISA KEV listing and no EPSS score are present in the input, so there is no signal of active or widespread exploitation; the vuln.today decision label is 'this_month' (not act_now/emergency), consistent with a patch-this-cycle rather than drop-everything priority. The vendor GHSA advisory contains a detailed, step-by-step proof of concept, so a working exploit path is publicly documented even though the input does not mark PoC as independently confirmed weaponized code. Signals are internally consistent: a credentialed insider-to-insider privilege-boundary crossing (clinical coding → billing) with high confidentiality exposure of patient and financial data, but gated behind authentication and victim interaction - genuine priority for healthcare operators running OpenEMR, but lower urgency than a network-unauthenticated flaw.

Exploit ScenarioDerived

A clinician with encounter-coding access saves a billing code such as x',alert(1),'y via diagnosis.php, which OpenEMR stores without character validation. When a Back Office (EOB) user later opens the manual EOB invoice for that encounter and types a payment, the code is decoded out of the HTML-escaped inline onkeyup handler and executes JavaScript in the EOB user's authenticated session, exposing patient and financial data. A detailed proof of concept with the exact HTTP request and reproduction steps is published in the vendor's GHSA advisory.

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 in OpenEMR before 8.5.0 lets a user holding the Clinician role's encounters/coding permission persist a malicious billing code that later executes JavaScript in a Back Office (EOB) user's authenticated session. The payload is saved through interface/patient_file/encounter/diagnosis.php and fires only when the billing user opens the manual EOB invoice at interface/billing/sl_eob_invoice.php and types a character into the Pay field of the crafted charge, so exploitation requires two distinct authenticated accounts and the victim's keystroke (CVSS 4.0 base 6.9, PR:L/UI:A, VC:H/VI:L). The vendor advisory includes a public proof-of-concept walkthrough (crafted 14-character billing code plus the diagnosis.php request); no CISA KEV entry or confirmed in-the-wild exploitation was identified at time of analysis, and the trigger is bounded by the 20-character billing-code column.

RemediationAI

Upgrade to OpenEMR 8.5.0, the version the vendor advisory GHSA-v7qh-q4xq-28v3 names as fixed for all releases below it; the patch is available from the vendor, so no source-level workaround is required. Where the upgrade cannot be scheduled immediately, reduce exposure by narrowing who can reach the two roles the exploit chain needs: revoke or restrict encounters/coding write access for clinician accounts that do not need to author billing codes, and limit acct/eob write access to the manual EOB payment screen to the staff who genuinely process payments - this breaks the two-actor path but does not remove the underlying sink and degrades clinical coding and billing workflows. Because the payload only fires on the victim's keystroke in the Pay field of the malicious charge, reviewing recent entries in the billing table for codes containing quotes or JavaScript syntax before EOB staff open affected invoices is a useful interim check, though it is detection rather than a durable fix. Treat the upgrade as this month's priority per the vuln.today decision label rather than an emergency action.

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's billing pipeline treats the billing code as opaque data: interface/patient_file/encounter/diagnosis.php reads 'code' and 'fee' from the request and hands them to BillingUtilities::addBilling(), which binds parameters correctly and therefore blocks SQL injection but performs no character allowlist validation. InvoiceSummary then retrieves nonzero charges and uses each code string as an array key, and interface/billing/sl_eob_invoice.php interpolates that key into three single-quoted JavaScript string literals inside an inline onkeyup handler, wrapped in the framework's attr() helper. attr() is correct for the HTML attribute context - it emits &#039; for quotes - but it is not JavaScript-string encoding, and the browser decodes those entities back to single quotes before compiling the handler. A code such as x',alert(1),'y therefore terminates the intended string and the comma operator evaluates the injected expression while the computed property is constructed, leaving the handler syntactically valid so updateFields() still runs normally. This is classic CWE-79 context confusion: output encoding applied for one sink (attribute) does not protect a nested execution context (inline script), and the trusted clinical-coding to billing boundary is what makes the stored payload reach a more privileged victim.

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

Authenticated low-priv clinician stores payload (PR:L) that executes in a different privileged user's browser on their interaction (UI:R, S:C), exposing patient/financial data (C:H) with limited action capability (I:L).

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

Lifecycle Timeline

2
Patch available
Nov 13, 2026 - 10:02 EUVD
CVE Published
Nov 13, 2026 - 09:35 cve.org
MEDIUM 6.9

DescriptionCVE.org

OpenEMR before 8.5.0 contains a stored cross-site scripting vulnerability in interface/billing/sl_eob_invoice.php, which escapes billing codes for HTML attributes but not for JavaScript strings in an inline onkeyup handler. Clinicians with encounter coding access can save crafted billing codes through diagnosis.php that execute script when a Back Office user enters a payment, exposing patient and financial data or performing actions as that user.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Medium
most widely deployed open-source EHR, but healthcare-sector specific
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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

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