XSS in Openemr
CVE-2026-126418
OpenEMR before 8.5.0 contains a stored cross-site scripting vulnerability in interface/billing/sl_eob_invoice.php, which escapes billing codes for HTML attributes but not for JavaScript strings in an inline onkeyup handler. Clinicians with encounter coding access can save crafted billing codes through diagnosis.php that execute script when a Back Office user enters a payment, exposing patient and financial data or performing actions as that user.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N.
EPSS exploit prediction
EPSS 0.002, 11.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/openemr/openemr/security/advisories/GHSA-v7qh-q4xq-28v3 (vendor-advisory)
- www.vulncheck.com/advisories/openemr-before-8.5.0-stored-xss-via-billing-code-i… (third-party-advisory)