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.
Published: 2026-11-08
Score: 5.1 Medium
EPSS: n/a
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Immediate Patch
AI Analysis

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.

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

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

History

Sun, 08 Nov 2026 13:30:00 +0000

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'}


Subscriptions

Open-emr Openemr
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-08T13:15:43.090Z

Reserved: 2026-11-08T02:14:31.305Z

Link: CVE-2026-124452

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-08T14:18:12.637

Modified: 2026-11-08T14:18:12.637

Link: CVE-2026-124452

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-08T18:15:14Z

Weaknesses
  • CWE-79

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