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

 

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

Published: April 23, 2026


Vulnerability identifier: #VU127315
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U/U:Clear
CVE-ID: CVE-2026-32121
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 JavaScript in a staff member's browser session.

The vulnerability exists due to improper neutralization of input during web page generation in the portal signer modal in portal/sign/assets/signer_api.js when rendering attacker-controlled patient names via jQuery .html(). A remote user can register a patient account with a crafted name and trigger rendering of that name in the signer modal to execute arbitrary JavaScript in a staff member's browser session.

Exploitation requires patient self-registration to be enabled and a staff member to open the signature modal for the attacker's patient record.


How to mitigate CVE-2026-32121

Install security update from vendor's website.

Sources