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