OpenEMR before 8.5.0 Stored XSS via Eye Exam Defaults in eye_base.php
- State
- Published
- Severity
- 4.6 Medium
- Published
- Nov 13, 2026
- Updated
- Nov 13, 2026
- Reserved
- Nov 10, 2026
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.
| Product | Versions |
|---|---|
| openemr openemr | before 8.5.0 Affected8.5.0 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 4.6 Medium | VulnCheck | |
| 3.1 | 4.8 Medium | VulnCheck |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- GitHub Security Advisory (GHSA-gr77-7xgh-5gwf)Vendor Advisory
- VulnCheck Advisory: OpenEMR before 8.5.0 Stored XSS via Eye Exam Defaults in eye_base.phpThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.