CVE-2025-67491: OpenEMR has Stored XSS in ub04 helper

Published Feb 25, 2026
·
Updated

OpenEMR is a free and open source electronic health records and medical practice management application. Versions 5.0.0.5 through 7.0.3.4 have a stored cross-site scripting vulnerability in the ub04 helper of the billing interface. The variable $data is passed in a click event handler enclosed in single quotes without proper sanitization. Thus, despite jsonencode a malicious user can still inject a payload such as ac' ><img src=x onerror=alert(document.cookie)> to trigger the bug. This vulnerability allows low privileged users to embed malicious JS payloads on the server and perform stored XSS attack. This, in turn makes it possible for malicious users to steal the session cookies and perform unauthorized actions impersonating administrators. Version 7.0.4 patches the issue.

Affected Software

2 affected components
OpenEMR OpenEMR>=5.0.0.5<7.0.3.4
open-emr Openemr>=5.0.0.5<7.0.4

Event History

Feb 25, 2026
CVE Published
via MITRE·12:31 AM
Data Sourced
via MITRE·12:31 AM
DescriptionWeakness
Data Sourced
via NVD·01:16 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-67491?

CVE-2025-67491 is classified as a moderate severity stored cross-site scripting vulnerability.

2

How do I fix CVE-2025-67491?

To fix CVE-2025-67491, update OpenEMR to the latest version beyond 7.0.3.4.

3

Which versions of OpenEMR are affected by CVE-2025-67491?

OpenEMR versions 5.0.0.5 through 7.0.3.4 are affected by CVE-2025-67491.

4

What does CVE-2025-67491 affect in OpenEMR?

CVE-2025-67491 affects the ub04 helper in the billing interface of OpenEMR.

5

Is the Cross-Site Scripting in CVE-2025-67491 stored or reflected?

The vulnerability in CVE-2025-67491 is a stored Cross-Site Scripting (XSS) vulnerability.

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