CVE-2026-126418: OpenEMR before 8.5.0 Stored XSS via Billing Code in sl_eob_invoice.php

Published Nov 13, 2026
·
Updated

OpenEMR before 8.5.0 contains a stored cross-site scripting vulnerability in interface/billing/sleobinvoice.php, which escapes billing codes for HTML attributes but not for JavaScript strings in an inline onkeyup handler. Clinicians with encounter coding access can save crafted billing codes through diagnosis.php that execute script when a Back Office user enters a payment, exposing patient and financial data or performing actions as that user.

Affected Software

1 affected component
OpenEMR OpenEMR<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

Who can exploit this issue, and which users are exposed to the payload?

A clinician with encounter coding access can save a crafted billing code through diagnosis.php. The payload executes when a Back Office user enters a payment in the affected billing workflow.

2

What access and interaction are required for exploitation?

The attacker needs clinician-level access that permits encounter coding and must store a malicious billing code. A Back Office user must subsequently enter a payment, which triggers the inline onkeyup handler containing the unescaped value.

3

Are deployments on the fixed release affected?

The issue affects OpenEMR versions before 8.5.0. OpenEMR 8.5.0 is not identified as affected by the provided information.

4

What could an attacker do after the script executes?

The script executes in the Back Office user's context and can expose patient and financial data. It may also perform actions as that user.

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