CVE-2026-126475: OpenEMR before 8.5.0 Reflected XSS via searchEleNo in Auto-Suggest Endpoint

Published Nov 13, 2026
·
Updated

OpenEMR before 8.5.0 contains a reflected cross-site scripting vulnerability that allows authenticated attackers to execute JavaScript by injecting payloads into the searchEleNo POST parameter of the application/index/search endpoint. Attackers can break out of unencoded HTML attributes in auto-suggest.phtml to inject event handlers that fire on DOM insertion, stealing non-HttpOnly session cookies and patient data.

Affected Software

1 affected component
OpenEMR OpenEMR<8.5.0

Event History

Nov 13, 2026
CVE Published
via MITRE·09:34 AM
Data Sourced
via MITRE·09:34 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:17 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

OpenEMR deployments running versions before 8.5.0 are affected. Exploitation requires an authenticated attacker and user interaction, and the impact includes exposure of non-HttpOnly session cookies and patient data.

2

What must an attacker do to exploit the vulnerability?

The attacker must submit a crafted payload in the searchEleNo POST parameter to the application/index/search endpoint. The payload escapes an unencoded HTML attribute in the auto-suggest response and injects an event handler that executes when inserted into the DOM.

3

How can I remediate the issue?

Upgrade OpenEMR to version 8.5.0 or later. The provided information does not identify a workaround for deployments that cannot immediately upgrade.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203