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

 

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

Published: April 23, 2026


Vulnerability identifier: #VU127330
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-32119
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 another user's browser session.

The vulnerability exists due to cross-site scripting in the SearchHighlight plugin in library/js/SearchHighlight.js when processing stored encounter-form text during single-word searches on the Custom Report page. A remote user can store crafted script content in a free-text encounter form field to execute arbitrary JavaScript in another user's browser session.

User interaction is required, and exploitation occurs only for encounter form content rendered inside search_div_* containers when the victim uses the single-word search feature on the Custom Report page.


How to mitigate CVE-2026-32119

Install security update from vendor's website.

Sources