CVE-2026-124452

OpenEMR before 8.3.0 Stored XSS via Eye Exam Document Notes

Published Nov 8, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
Description
OpenEMR before 8.3.0 contains a stored cross-site scripting vulnerability in interface/forms/eye_mag/report.php that allows authenticated users to inject scripts by adding unescaped document notes. Attackers with document-note write access can store malicious JavaScript in a retina document note that executes when clinicians generate the Eye Exam patient report, exposing session cookies.

Analysis

AI-generated

Technical impact

The vulnerability is a stored cross‑site scripting flaw located in interface/forms/eye_mag/report.php of OpenEMR before version 8.3.0. It allows authenticated users with write access to document notes to inject malicious JavaScript into a retinal eye exam document note. When clinicians generate the eye exam patient report, the injected script executes and can expose session cookies, potentially enabling a hijacked session or other malicious client‑side actions. This weakness is categorized as CWE‑79, impacting confidentiality and integrity of user sessions.

Affected Systems

OpenEMR, version 8.2.x and earlier, in the core OpenEMR product. Only installations that allow document-note edits for authenticated users are susceptible.

Risk and Exploitability

The CVSS score of 5.1 indicates a medium severity level. No EPSS data is available, and the vulnerability is not listed in the CISA KEV catalog. Attackers must first authenticate, then obtain write permission on eye exam notes; the bug is exploitable when a clinician generates a report. Considering the required privileges, the overall exploitation risk is moderate, but not negligible for organizations that grant broad edit rights.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to OpenEMR 8.3.0 or newer to eliminate the stored XSS vector.
  • Restrict write access to eye exam document notes to a minimum set of trusted users to reduce the number of potential attackers.
  • Add server‑side input sanitization or output encoding for all fields that are stored and later rendered in patient reports as a temporary safeguard.

Generated by OpenCVE AI on November 8, 2026 at 14:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description OpenEMR before 8.3.0 contains a stored cross-site scripting vulnerability in interface/forms/eye_mag/report.php that allows authenticated users to inject scripts by adding unescaped document notes. Attackers with document-note write access can store malicious JavaScript in a retina document note that executes when clinicians generate the Eye Exam patient report, exposing session cookies.
Title OpenEMR before 8.3.0 Stored XSS via Eye Exam Document Notes
First Time appeared Open-emr
Open-emr openemr
Weaknesses CWE-79
CPEs cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*
Vendors & Products Open-emr
Open-emr openemr
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 9, 2026, 2:24 PM
Reserved
Nov 8, 2026, 2:14 AM
Status
Analyzed
Published
Nov 8, 2026, 2:18 PM
Modified
Nov 23, 2026, 9:05 PM