CVE-2026-32121 OpenEMR: Stored DOM XSS via `.html()` in Portal Signer Modal

High 7.7 Published Updated

Attackers can inject malicious scripts via patient names in the portal signer modal, potentially stealing data or executing code.

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

What is CVE-2026-32121?

CVE-2026-32121 is a high-severity cross-site scripting vulnerability in Open-Emr Openemr, published on 11 Mar 2026. Any signed-in user can exploit it over the network, 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. Prior to 8.0.0.1, Stored XSS in prescription CSS/HTML print view via patient demographics. That finding involves server-side rendering of patient names via raw PHP echo. This finding involves client-side DOM-based rendering via jQuery .html() in a completely different component (portal/sign/assets/signer_api.js). The two share the same root cause (unsanitized patient names in patient_data), but they have different sinks, different affected components, different trigger actions, and require independent fixes. This vulnerability is fixed in 8.0.0.1.

Weakness: CWE-79

Which versions are affected by CVE-2026-32121?

It affects 1 product.

Products include Open-Emr Openemr.

How do I fix CVE-2026-32121?

No fix has been published for CVE-2026-32121 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-32121 being exploited?

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

All Open-Emr Openemr vulnerabilities

Sources

Also known as GHSA-68fr-xm3v-p4vw.

Is CVE-2026-32121 in your software?

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

Check your SBOMs for free