CVE-2026-126462
Awaiting Analysis Awaiting Analysis - Queue

Stored XSS in OpenEMR Eye Exam Editor via PLAN[] Field

Vulnerability report for CVE-2026-126462, 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 stored cross-site scripting vulnerability that allows authenticated users with Eye Exam edit permission to inject scripts via the Next Visit Orders PLAN[] field. Attackers can store a payload closing the textarea in view.php, executing JavaScript when another user opens the Eye Exam editor to steal session identifiers or clinical 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 4 associated CPEs
Vendor Product Version / Range
openemr openemr to 8.5.0 (exc)
openemr openemr 5.0.2
openemr openemr 8.0.0.2
openemr openemr 8.3.0

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 stored cross-site scripting (XSS) vulnerability in OpenEMR versions before 8.5.0. An authenticated user with Eye Exam edit permission can inject malicious scripts via the Next Visit Orders PLAN[] field. The payload is stored in the database and executes when another user opens the Eye Exam editor, potentially stealing session data or clinical information.

Detection Guidance

To detect this vulnerability, inspect OpenEMR Eye Exam forms for suspicious scripts in the Next Visit Orders PLAN[] field. Check view.php for improperly encoded user input in the ORDER_DETAILS field. Review database entries for HTML or JavaScript payloads in the Next Visit Orders field.

Impact Analysis

An attacker could steal your session cookies, access clinical data, or perform actions on your behalf within OpenEMR. This requires you to open an affected Eye Exam form after the attacker has injected the malicious script.

Compliance Impact

This vulnerability could lead to unauthorized access to protected health information (PHI), violating HIPAA requirements for safeguarding patient data. It may also result in data breaches that require notification under GDPR, potentially leading to fines or legal consequences.

Mitigation Strategies

Upgrade OpenEMR to version 8.5.0 or later. Apply input validation and output encoding to the Next Visit Orders field. Restrict Eye Exam edit permissions to trusted users only. Monitor for unauthorized script injections in form fields.

Chat Assistant

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