CVE-2025-67491

Source
https://cve.org/CVERecord?id=CVE-2025-67491
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-67491.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-67491
Aliases
  • GHSA-5fq8-jwvw-3m5w
Published
2026-02-25T00:31:11.369Z
Modified
2026-02-27T19:35:01.802411Z
Severity
  • 8.5 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
OpenEMR has Stored XSS in ub04 helper
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/67xxx/CVE-2025-67491.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-79"
    ]
}
References

Affected packages

Git / github.com/openemr/openemr

Affected ranges

Type
GIT
Repo
https://github.com/openemr/openemr
Events

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-67491.json"