Cross-site scripting in OpenEMR - CVE-2026-33933
Published: April 23, 2026
OpenEMR
Detailed vulnerability description
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.