Cross-site scripting in OpenEMR - CVE-2026-33303

 

Cross-site scripting in OpenEMR - CVE-2026-33303

Published: April 23, 2026


Vulnerability identifier: #VU127328
CSH Severity: Low
CVSS v4.0: 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/E:U/U:Clear
CVE-ID: CVE-2026-33303
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: OpenEMR
Affected software:
OpenEMR

Detailed vulnerability description

The vulnerability allows a remote user to execute arbitrary script in a clinic staff member's browser session.

The vulnerability exists due to cross-site scripting in the credential print view template when rendering a stored portal_login_username value into an HTML attribute without proper escaping. A remote user can set a crafted portal username and cause a staff member to open the patient's "Create Portal Login" page to execute arbitrary script in a clinic staff member's browser session.

User interaction is required, and the issue crosses from the patient portal session context into the staff or admin session context.


How to mitigate CVE-2026-33303

Install security update from vendor's website.

Sources