CVE-2026-126476
Awaiting Analysis Awaiting Analysis - Queue

Reflected XSS in OpenEMR Application Module

Vulnerability report for CVE-2026-126476, 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 in the Application module's auto-suggest endpoint, which echoes the searchMode POST parameter unencoded into a single-quoted onClick attribute. Attackers can induce an authenticated user to submit a single-quote payload to application/index/search, executing arbitrary JavaScript in that user's session to steal session cookies or disclose 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. It occurs in the Application module's auto-suggest endpoint where the searchMode POST parameter is echoed unencoded into a single-quoted onClick attribute. Attackers can trick an authenticated user into submitting a malicious payload to execute arbitrary JavaScript in the user's session, potentially stealing session cookies or disclosing patient data.

Detection Guidance

To detect this vulnerability, inspect network traffic for POST requests to the application/index/search endpoint with the searchMode parameter containing unencoded single quotes or JavaScript payloads. Check server logs for unusual auto-suggest responses echoing user input. Use tools like Burp Suite or OWASP ZAP to intercept and analyze requests.

Impact Analysis

An attacker could steal your session cookies or access sensitive patient data if you are an authenticated OpenEMR user. The vulnerability allows arbitrary JavaScript execution in your session, which could lead to unauthorized data access or session hijacking. The impact depends on your role and the data you can access within OpenEMR.

Compliance Impact

This vulnerability could lead to unauthorized access or disclosure of patient data, violating HIPAA's confidentiality requirements. GDPR compliance may also be affected if patient data is exposed without proper safeguards. The risk of data breaches increases, potentially resulting in legal penalties and reputational damage.

Mitigation Strategies

Upgrade OpenEMR to version 8.5.0 or later immediately. If upgrading is not possible, apply input validation to restrict searchMode to known values and implement output encoding for HTML and JavaScript contexts. Ensure the session cookie has the HttpOnly flag set.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-126476. 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...