---
id: CVE-2026-124452
title: OpenEMR before 8.3.0 Stored XSS via Eye Exam Document Notes
summary: >-
  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
  acce…
severity: medium
cvss: 5.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'
cvssSource: cna
cwe:
  - CWE-79
vendor: openemr
product: openemr
affected:
  - openemr < 8.3.0
published: '2026-11-08'
updated: '2026-11-08'
sourceUpdated: '2026-11-08T13:15:43.090Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-124452'
references:
  - url: 'https://github.com/openemr/openemr/security/advisories/GHSA-xwjf-6q28-9vj7'
    label: GitHub Security Advisory (GHSA-xwjf-6q28-9vj7)
  - url: >-
      https://www.vulncheck.com/advisories/openemr-before-8.3.0-stored-xss-via-eye-exam-document-notes
    label: >-
      VulnCheck Advisory: OpenEMR before 8.3.0 Stored XSS via Eye Exam Document
      Notes
tags:
  - cve.org
ingestedAt: '2026-11-08T13:50:34.976Z'
---

## Overview

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.

## Affected

- `openemr < 8.3.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
