CVE-2026-126477
OpenEMR before 8.5.0 Stored XSS via Eye Exam Defaults in eye_base.php
4.6
Description
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.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| openemr | openemr | 0 → <8.5.0 | 8.5.0 | CVE.org |
| openemr | open-emr | <8.5.0 | 8.5.0 | NVD |