CVE-2026-33299: OpenEMR has Stored XSS in patient encounter Eye Exam form answers
OpenEMR is a free and open source electronic health records and medical practice management application. Prior to 8.0.0.2, users with the Notes - my encounters role can fill Eye Exam forms in patient encounters. The answers to the form are displayed on the encounter page and in the visit history for the users with the same role. There exists a stored cross-site scripting (XSS) vulnerability in the function to display the form answers, allowing any authenticated attacker with the specific role to insert arbitrary JavaScript into the system by entering malicious payloads to the form answers. The JavaScript code is later executed by any user with the form role when viewing the form answers in the patient encounter pages or visit history. Version 8.0.0.2 fixes the issue.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2026-33299?
CVE-2026-33299 is classified with a severity score that indicates it poses a risk of stored cross-site scripting (XSS) vulnerabilities.
How do I fix CVE-2026-33299?
To fix CVE-2026-33299, upgrade OpenEMR to version 8.0.0.2 or later.
Who is affected by CVE-2026-33299?
Users with the 'Notes - my encounters' role in OpenEMR prior to version 8.0.0.2 are affected by CVE-2026-33299.
What type of vulnerability is CVE-2026-33299?
CVE-2026-33299 is a stored cross-site scripting (XSS) vulnerability affecting the Eye Exam form in OpenEMR.
Is CVE-2026-33299 fixed in later versions of OpenEMR?
Yes, CVE-2026-33299 is fixed in OpenEMR version 8.0.0.2 and subsequent releases.