CVE-2026-126493: OpenEMR before 8.5.0 Stored XSS via OnsitePortalActivity tableArgs

Published Nov 13, 2026
·
Updated

OpenEMR before 8.5.0 contains a stored cross-site scripting vulnerability that allows low-privileged patient portal users to inject JavaScript via the tableArgs field of the onsiteportalactivity API. Attackers can store a payload with spaces that breaks out of an unquoted data-delete-id attribute, executing script when providers click the delete button on the audit review page.

Affected Software

2 affected components
OpenEMR OpenEMR<8.5.0
open-emr 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
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Who can exploit this vulnerability?

A low-privileged patient portal user can exploit it by submitting a crafted value in the tableArgs field of the onsiteportalactivity API. The attack requires that user to be able to store the payload.

2

What user interaction is required for the stored script to execute?

A provider must click the delete button on the audit review page where the malicious stored value is rendered. The payload uses spaces to break out of an unquoted data-delete-id attribute.

3

Which versions are affected?

OpenEMR versions before 8.5.0 are affected. The provided data does not identify a workaround for installations that cannot upgrade immediately.

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