GHSA-c997-5w2m-grrf: OpenEMR before 8.5.0 Stored XSS via Printed Fee Sheet Appointment Comments

Published Nov 13, 2026
·
Updated

OpenEMR before 8.5.0 contains a stored cross-site scripting vulnerability in printedfeesheet.php that allows authenticated portal patients to inject script by setting unescaped appointment comments (pchometext). Attackers can submit HTML payloads via the formcomments field in addediteventuser.php that execute when staff open the patient's fee sheet, acting within the staff session.

Frequently Asked Questions

1

Who can exploit this vulnerability, and what interaction is required?

An authenticated OpenEMR portal patient can submit a malicious HTML payload in appointment comments through the form_comments field. The payload executes only when a staff member opens that patient's printed fee sheet.

2

Which OpenEMR versions are affected?

OpenEMR versions before 8.5.0 are affected. The provided information identifies 8.5.0 as the version boundary but does not specify affected release ranges beyond versions earlier than it.

3

What is the impact when the payload executes?

The injected script runs in the staff member's session when they view the fee sheet. This can allow actions or access consistent with that staff session.

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