CVE-2026-126477

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*

History

16 Nov 2026, 19:14

Type Values Removed Values Added
References () https://github.com/openemr/openemr/security/advisories/GHSA-gr77-7xgh-5gwf - () https://github.com/openemr/openemr/security/advisories/GHSA-gr77-7xgh-5gwf - Exploit, Vendor Advisory
References () https://www.vulncheck.com/advisories/openemr-before-8.5.0-stored-xss-via-eye-exam-defaults-in-eye-base-php - () https://www.vulncheck.com/advisories/openemr-before-8.5.0-stored-xss-via-eye-exam-defaults-in-eye-base-php - Third Party Advisory
CPE cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*
First Time Open-emr openemr
Open-emr

13 Nov 2026, 10:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-13 10:17

Updated : 2026-11-16 19:14


NVD link : CVE-2026-126477

Mitre link : CVE-2026-126477

CVE.ORG link : CVE-2026-126477


JSON object : View

Products Affected

open-emr

  • openemr
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')