CVE-2026-126450: OpenEMR before 8.5.0 Stored XSS via Patient External ID in Prescriptions

Published Nov 13, 2026
·
Updated

OpenEMR before 8.5.0 contains a stored cross-site scripting vulnerability that allows authenticated users to inject scripts by placing payloads in the patient External ID field. The payload executes when other users open the patient's prescriptions via View Printable Version (HTML), running script in their browser sessions.

Affected Software

1 affected component
OpenEMR OpenEMR<8.5.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 8.5.0

Event History

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

Frequently Asked Questions

1

Which users are exposed to the stored script execution?

Authenticated users who open a patient's prescriptions using View Printable Version (HTML) may execute a script stored in that patient's External ID field. The script runs in the viewing user's browser session.

2

What access does an attacker need to exploit this issue?

The attacker needs authenticated access to OpenEMR and must be able to place a script payload in a patient's External ID field. No victim interaction beyond opening the affected printable prescription view is described.

3

Which versions are affected?

OpenEMR versions before 8.5.0 are affected. Version 8.5.0 is identified as the boundary after which this issue is not described as affected.

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