CVE-2026-126475
Awaiting Analysis Awaiting Analysis - Queue

Reflected XSS in OpenEMR Prior to 8.5.0

Vulnerability report for CVE-2026-126475, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-13

Last updated on: 2026-11-13

Assigner: VulnCheck

Description

OpenEMR before 8.5.0 contains a reflected cross-site scripting vulnerability that allows authenticated attackers to execute JavaScript by injecting payloads into the searchEleNo POST parameter of the application/index/search endpoint. Attackers can break out of unencoded HTML attributes in auto-suggest.phtml to inject event handlers that fire on DOM insertion, stealing non-HttpOnly session cookies and patient data.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-13
Last Modified
2026-11-13
Generated
2026-11-13
AI Q&A
2026-11-13
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
openemr openemr to 8.5.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a reflected cross-site scripting (XSS) vulnerability in OpenEMR versions before 8.5.0. An authenticated attacker can inject JavaScript payloads via the searchEleNo POST parameter in the application/index/search endpoint. The input is echoed unencoded into HTML attributes and JavaScript contexts, allowing execution of arbitrary scripts in a victim's session.

Detection Guidance

To detect this vulnerability, inspect OpenEMR instances for versions prior to 8.5.0. Check if the searchEleNo POST parameter in the application/index/search endpoint is reflected without proper encoding. Monitor network traffic for suspicious POST requests to this endpoint with JavaScript payloads.

Impact Analysis

An attacker could steal non-HttpOnly session cookies and access patient data. The vulnerability requires an authenticated session and at least one matching patient record. Exploitation can occur through the standard patient search box, where manipulated input triggers the payload against other users sharing the same session.

Compliance Impact

This vulnerability could lead to unauthorized access to patient data, violating HIPAA's confidentiality requirements. It may also result in data breaches, which are a major concern under GDPR, potentially leading to fines and legal consequences for non-compliance.

Mitigation Strategies

Upgrade OpenEMR to version 8.5.0 or later. Apply input validation to restrict searchEleNo to digits only. Ensure output encoding for HTML attributes and JavaScript contexts. Set the HttpOnly flag on session cookies to prevent theft via document.cookie.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-126475. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...