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

 

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

Published: April 23, 2026


Vulnerability identifier: #VU127360
CSH Severity: Medium
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2026-33933
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary JavaScript in an authenticated staff member's browser session.

The vulnerability exists due to cross-site scripting in library/custom_template/custom_template.php when handling a crafted URL containing the contextName parameter. A remote attacker can send a specially crafted URL to execute arbitrary JavaScript in an authenticated staff member's browser session.

User interaction is required, and exploitation depends on the victim opening the crafted URL.


Affected software

OpenEMR

How to mitigate CVE-2026-33933

Install security update from vendor's website.

OpenEMR - update to 8.0.0.3

External References

Related Security Bulletins