CVE-2025-67491

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 `json_encode` 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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*

History

25 Feb 2026, 17:01

Type Values Removed Values Added
First Time Open-emr openemr
Open-emr
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.4
References () https://github.com/openemr/openemr/blob/a65b11d8b8e973b8758ce0dc3efb4b6ec0466d85/interface/billing/ub04_helpers.php#L52-L60 - () https://github.com/openemr/openemr/blob/a65b11d8b8e973b8758ce0dc3efb4b6ec0466d85/interface/billing/ub04_helpers.php#L52-L60 - Patch
References () https://github.com/openemr/openemr/commit/66a11c2d72ade16c4a908cd839d27cd7b261f97a - () https://github.com/openemr/openemr/commit/66a11c2d72ade16c4a908cd839d27cd7b261f97a - Patch
References () https://github.com/openemr/openemr/security/advisories/GHSA-5fq8-jwvw-3m5w - () https://github.com/openemr/openemr/security/advisories/GHSA-5fq8-jwvw-3m5w - Exploit, Vendor Advisory
CPE cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*

25 Feb 2026, 02:16

Type Values Removed Values Added
References
  • () https://github.com/openemr/openemr/commit/66a11c2d72ade16c4a908cd839d27cd7b261f97a -

25 Feb 2026, 01:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-02-25 01:16

Updated : 2026-02-25 17:01


NVD link : CVE-2025-67491

Mitre link : CVE-2025-67491

CVE.ORG link : CVE-2025-67491


JSON object : View

Products Affected

open-emr

  • openemr
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')