CVE-2026-33348
8.7OpenEMR · OpenEMR
OpenEMR versions prior to 8.0.0.3 contain a stored cross-site scripting (XSS) vulnerability in the Eye Exam form, allowing authenticated attackers with specific roles to execute arbitrary JavaScript.
Executive summary
A stored cross-site scripting vulnerability in OpenEMR allows authenticated attackers to execute arbitrary JavaScript within the browser sessions of other users.
Vulnerability
The application fails to properly sanitize input within the Eye Exam form functionality. This allows an authenticated attacker possessing the Notes - my encounters role to inject malicious scripts that execute in the context of other users who view the affected patient encounter pages or visit history.
Business impact
This vulnerability poses a significant risk to the integrity and confidentiality of medical records within OpenEMR. With a CVSS score of 8.7, the flaw enables attackers to perform actions on behalf of other users, potentially leading to unauthorized data modification, account takeover, or the exfiltration of sensitive patient health information.
Remediation
Immediate Action: Upgrade your OpenEMR installation to version 8.0.0.3 or later to apply the necessary security patches.
Proactive Monitoring: Review application access logs for unusual activity associated with user accounts holding the Notes - my encounters role, and monitor for suspicious script execution patterns.
Compensating Controls: Implement a strict Content Security Policy (CSP) to restrict the execution of unauthorized scripts and utilize a Web Application Firewall (WAF) to filter malicious payloads from input fields.
Exploitation status
Public Exploit Available: Unknown
Analyst recommendation
Given the High severity and the sensitivity of medical data processed by OpenEMR, organizations must prioritize the update to version 8.0.0.3. Administrators should audit user permissions to ensure the principle of least privilege is enforced, limiting the potential impact of similar vulnerabilities until the patch is successfully applied.