CVE-2026-126477 OpenEMR before 8.5.0 Stored XSS via Eye Exam Defaults in eye_base.php
MediumCVSS 4.6
EPSS 0.25%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- PHP
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| open-emr openemr | < 8.5.0 | 8.5.0 | Fixed |
| openemr | < 8.5.0 | 8.5.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| openemr | < 8.5.0 | 8.5.0 |
| open-emr openemr | < 8.5.0 | 8.5.0 |
References
- GitHub Security Advisory (GHSA-gr77-7xgh-5gwf) exploit vendor-advisory
- VulnCheck Advisory: OpenEMR before 8.5.0 Stored XSS via Eye Exam Defaults in eye_base.php third-party-advisory
- ENISA EUVD EUVD-2026-124947 third-party-advisory