Skip to main content

OpenEMR CVE-2026-126456

| EUVDEUVD-2026-124967 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-13 VulnCheck GHSA-p6mj-j29m-h68m
5.1
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 (encounters/coding)
  2. Delivery
    Inject ≤25-char payload in Fee Sheet notecodes
  3. Exploit
    Payload breaks out of single-quoted value attribute, stored verbatim
  4. Execution
    Administrator opens the visit's Fee Sheet, script executes
  5. Impact
    Drive authenticated actions in admin's session

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 account with the encounters/coding permission (Clinician role or higher) able to edit a Fee Sheet - it is explicitly NOT available to the lowest roles. The payload must survive storage in the billing.notecodes varchar(25) column, so a working injection must be ≤25 characters (the demonstrated ' onclick=alert(1) x=' is 22). Execution is not immediate: a higher-privileged victim (e.g. an administrator) must subsequently open that specific visit's Fee Sheet in their browser (passive user interaction, UI:P). These factors - required clinician authentication, the short-length constraint, and the need for a privileged user to view the affected record - limit this to an insider/second-order privilege-escalation path rather than remote unauthenticated compromise of default configurations.

Impact

This is a medium-severity stored XSS (CVSS 4.0 base 5.1; CWE-79) whose real-world risk is moderate and bounded by its preconditions rather than its raw reach. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N) shows network vector and low complexity but requires PR:L - an authenticated clinician with encounters/coding rights - and passive user interaction (a higher-privileged user must later open the affected visit). It is therefore an authenticated privilege-escalation/session-hijack path (Clinician → administrator session), not an unauthenticated mass-exploitable flaw. The vuln.today priority is 'this_month', consistent with a patch-when-reasonable medium, not an emergency. No KEV listing was supplied, so exploitation status is: no confirmed active exploitation. No EPSS score was provided, so statistical exploitation probability cannot be compared here. A detailed, working reproducer (Dockerfile plus exploit.sh/exploit.py staging the payload as clinician 'carol' and confirming execution in 'admin's browser) is published in the GHSA advisory, so exploitability is practically demonstrated even though no standalone off-the-shelf exploit tool is cited. Net: a genuine but prerequisite-gated issue - real priority for healthcare operators running OpenEMR with multiple roles, but not a drop-everything internet-facing crisis.

Exploit ScenarioDerived

A malicious or compromised clinician edits a patient's Fee Sheet and types a short payload (≤25 characters, e.g. ' onclick=alert(1) x=') into the notecodes field, which breaks out of the single-quoted value attribute and is stored verbatim. When an administrator or other higher-privileged user later opens that visit's Fee Sheet, the injected JavaScript runs in their authenticated session, letting the attacker drive any action the victim can perform. A complete reproducer demonstrating exactly this is published in the GHSA advisory.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% 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's Fee Sheet (interface/forms/fee_sheet/new.php) allows a user holding the encounters/coding permission - a Clinician or higher - to persist a short JavaScript payload in a billing line's notecodes field that executes in the browser of any higher-privileged user, including an administrator, who later opens that visit's Fee Sheet. The flaw is a context mismatch: the value is escaped with the text() helper (ENT_NOQUOTES) inside a single-quoted HTML attribute, so a quote character breaks out of value='...' and the demonstrated 22-character payload fits within the varchar(25) column. Exploitation is authenticated and second-order (CVSS 4.0 base 5.1, scope Changed), and while the upstream advisory ships a Docker-based proof-of-concept reproducer, there is no CISA KEV listing and no public exploit identified at time of analysis; the vendor has released OpenEMR 8.5.0 with a fix.

RemediationAI

Vendor-released patch: upgrade to OpenEMR 8.5.0, which is the fixed version listed in the affected-range data and the upstream advisory (https://github.com/openemr/openemr/security/advisories/GHSA-ff55-qvf9-2fgm). The upstream fix replaces the text() call on the notecodes value with attr() (htmlspecialchars with ENT_QUOTES) so the value is escaped for the attribute context it is rendered into; sites maintaining a local fork can apply that one-line change directly, and the report suggests also escaping the $justify echo with text() and auditing the tree for the recurring "value='" . text( pattern. As a compensating control where upgrading must wait, the exposure is bounded by the encounters/coding permission: remove that ACL from roles that do not need to edit Fee Sheets, at the cost of breaking their billing and coding workflow, and treat Fee Sheets opened by administrator accounts as untrusted until the patch is applied. Note that this only narrows who can plant a payload - it does not remove the escaping defect, so the upgrade remains the complete fix.

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 and billing platform. In the Fee Sheet form, a billing line's notecodes value is echoed into an <input> element roughly as "value='" . text($li['notecodes']) . "'". OpenEMR's text() helper wraps htmlspecialchars() with ENT_NOQUOTES, so single quotes pass through unescaped; because the surrounding attribute is single-quoted, a value beginning with ' closes the attribute and lets an attacker append an event handler such as onclick=alert(1). The correct helper, attr() (ENT_QUOTES), is used on the same line for the line number, which is why the upstream report characterizes this as an oversight rather than a missing escape. The data round-trips through FeeSheet::save() with only trim(), so it is stored verbatim in billing.notecodes, a varchar(25) column that bounds the payload length. This is CWE-79 (improper neutralization of input during web page generation) with a cross-boundary consequence: the stored script runs in a victim session belonging to a different, more privileged user, which is why the assessed vector marks scope as Changed (S:C) with low confidentiality and integrity impact. The upstream report also notes a sibling unescaped echo of $justify at a nearby line that only renders once a line is billed.

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

Authenticated clinician stores the payload (PR:L), a privileged victim must open the page (UI:R), and execution in that higher-privileged session crosses a boundary (S:C), with limited C/I impact.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/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
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
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 in the Fee Sheet notecodes field, which is escaped with the wrong context. Attackers with clinician access can inject a payload that breaks out of the single-quoted value attribute and executes in higher-privileged users' browsers.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Medium
most widely used open-source EHR, but healthcare-sector-specific deployment
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.2%
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

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