OpenEMR before 8.5.0 Stored XSS via Eye Exam Defaults in eye_base.php
CVE-2026-126477Published 13 Nov 2026, 09:34 UTC
Real-world risk
0.4/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
4.6
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from VulnCheck)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| OpenEMRCommon | < 8.5.0 | 8.5.0 |
What to do
Update to a fixed version: 8.5.0.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | HighAdmin or equivalent | From the CVSS vector | 0.20 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.2% chance of exploitation in 30 days (percentile 17), as of 2026-12-05.
The arithmetic
- Prerequisites multiplied together0.140
- Threat T1: Nothing known0.850
- 10 × impact 0.3 × prerequisites 0.14 × threat 0.850.357
- Rounded to one decimal between 0.1 and 100.4
Exploitation and evidence timeline
- 13 Nov 2026 Published
- 3 Dec 2026 Risk 0.4 (cvss fallback)
Weakness
CWE-79