Cross-site scripting in OpenEMR - CVE-2026-124452
Published: August 18, 2026 / Updated: November 10, 2026
Vulnerability details
The vulnerability allows a remote user to execute arbitrary script in a victim's browser.
The vulnerability exists due to cross-site scripting in interface/forms/eye_mag/report.php when rendering stored document notes in the eye exam report. A remote user can add a crafted note containing malicious JavaScript to execute arbitrary script in a victim's browser.
The issue is triggered when a clinician, admin, or patient generates the patient report with the Eye Exam section for an affected encounter.