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