CVE-2026-126477 · Other
NO FIX YET · SEE WHAT TO DO
OpenEMR before 8.5.0 lets an administrator store a crafted option title in the Eye Exam (eye_mag) defaults list that is not encoded on output. When another logged-in user clicks Defaults, the injected JavaScript runs in their session.
first public Oct 28, 2026 · 1 source
Check it with your coding agent
It reads this page and tells you if your code or app is affected.
Clinics and organizations running OpenEMR before 8.5.0 that use the Eye Exam (eye_mag) module. Exposure requires an administrator account to store the payload, and the script runs when another authenticated user clicks Defaults. Installations on 8.5.0 or later are not affected.
Not affected if eye-exam-module-unused, version-8.5.0-or-later
Who cares healthcare, openemr, php, self-hosted
8.5.0 or later is not affected by this entry.8.5.0 or later.OpenEMR before 8.5.0 contains a stored cross-site scripting vulnerability in the Eye Exam (eye_mag) module that allows administrators to inject JavaScript through unencoded Eye_defaults list option titles. Attackers can store a crafted title via edit_list.php that breaks out of a jQuery string in eye_base.php, executing script in any authenticated user's session when they click Defaults.
This page as .md · .json · CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
InfraStack checks it against your stack and answers on your report, with the evidence and the fix.