Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › JavaScript

CVE-2026-126477 — openemr

Medium · CVSS 4.6EPSS 0.7% First seen November 13, 2026

One of 80 openemr vulnerabilities published together by NVD: our article covers all of them.

JavaScriptPHPWebVulnerabilities

Summary

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Medium · 4.6 CVSS 4.0 base score from the CNA (vulncheck.com)

An attacker with administrator rights can exploit this over the network if a user is tricked into an action.

Attack from
the network (remotely)
Attack complexity
low (no special conditions)
Special conditions
none
Login needed
yes, an administrator account
User action needed
yes, a user must deliberately do something
Impact
none
Impact on other systems
low on confidentiality and integrity, none on availability

Vector CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X · CVSS 3.1 4.8 from the CNA (vulncheck.com): CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Affected and fixed versions

ProductAffected versionsFixed in
openemr< 8.5.08.5.0

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

Public exploits

Exploit available Exploit code or a detailed exploitation write-up is public, so attacks are easier to carry out.

References by type

Other references

Details from NVD (public domain).

Affected

  • openemr

What to do

  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is CVE-2026-126477?

OpenEMR before 8.5.0 contains a stored cross-site scripting vulnerability in the Eye Exam (eyemag) module that allows administrators to inject JavaScript through unencoded Eyedefaults list option titles. Attackers can store a crafted title via editlist.php that breaks out of a jQuery string in eyebase.php, executing script in any authenticated user's session when they click Defaults. Weakness type: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (CWE-79).

How severe is CVE-2026-126477?

CVE-2026-126477 has a CVSS 4.0 base score of 4.6 (medium), from the CNA (vulncheck.com). An attacker with administrator rights can exploit this over the network if a user is tricked into an action.

Is CVE-2026-126477 being exploited?

Not as far as is known: CVE-2026-126477 is not in CISA's Known Exploited Vulnerabilities catalog as of November 29, 2026. Exploit code or a proof of concept has been published, which makes attacks more likely. EPSS estimates a 0.7% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-126477?

openemr < 8.5.0 (fixed in 8.5.0).

How do I fix CVE-2026-126477?

Update to a fixed release: openemr 8.5.0.

Timeline & sources

References

Related vulnerabilities & news