CVE-2026-33933 Reflected XSS via Unescaped contextName Parameter in Custom Template Editor

Medium 6.1 Published Updated

Attackers can execute arbitrary JavaScript in authenticated staff sessions via crafted URLs, potentially leading to account takeover.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-33933?

CVE-2026-33933 is a medium-severity cross-site scripting vulnerability in Open-Emr Openemr, published on 25 Mar 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

OpenEMR is a free and open source electronic health records and medical practice management application. Starting in version 7.0.2.1 and prior to version 8.0.0.3, a reflected cross-site scripting (XSS) vulnerability in the custom template editor allows an attacker to execute arbitrary JavaScript in an authenticated staff member's browser session by sending them a crafted URL. The attacker does not need an OpenEMR account. Version 8.0.0.3 patches the issue.

Weakness: CWE-79

Which versions are affected by CVE-2026-33933?

It affects 1 product.

Products include Open-Emr Openemr.

How do I fix CVE-2026-33933?

No fix has been published for CVE-2026-33933 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-33933 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-33933 exists.

All Open-Emr Openemr vulnerabilities

Sources

Also known as GHSA-9qh7-cfq4-j7c3.

Is CVE-2026-33933 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free