CVE-2026-126477: OpenEMR before 8.5.0 Stored XSS via Eye Exam Defaults in eye_base.php

Published Nov 13, 2026
·
Updated

OpenEMR before 8.5.0 contains a stored cross-site scripting vulnerability in the Eye Exam (eyemag) module that allows administrators to inject JavaScript through unencoded Eyedefaults list option titles. Attackers can store a crafted title via editlist.php that breaks out of a jQuery string in eyebase.php, executing script in any authenticated user's session when they click Defaults.

Affected Software

1 affected component
OpenEMR OpenEMR<8.5.0

Event History

Nov 13, 2026
CVE Published
via MITRE·09:34 AM
Data Sourced
via MITRE·09:34 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:17 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can introduce the malicious content, and who can be affected by it?

An administrator can store a crafted Eye_defaults list option title through edit_list.php. Any authenticated user who later clicks Defaults in the Eye Exam (eye_mag) module can have JavaScript execute in their session.

2

What user interaction is required for exploitation?

The attacker must first store the crafted title, and a target authenticated user must click Defaults. The vulnerability is triggered when the stored title breaks out of a jQuery string in eye_base.php.

3

Which versions are affected?

OpenEMR versions before 8.5.0 are affected. The provided data does not identify affected configuration conditions beyond use of the Eye Exam module and its Eye_defaults list option titles.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203