# CVE-2026-126418: OpenEMR before 8.5.0 Stored XSS via Billing Code in sl_eob_invoice.php

- Severity: Medium 6.9 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-13T09:35:35.126Z
- Modified: 2026-11-19T16:44:02.453Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- openemr openemr: before 8.5.0 (not affected: 8.5.0)
- open-emr openemr: before 8.5.0

## Every score

- VulnCheck: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N`
- NVD: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N`

## References

- <https://github.com/openemr/openemr/security/advisories/GHSA-v7qh-q4xq-28v3> (exploit, vendor-advisory)
- <https://www.vulncheck.com/advisories/openemr-before-8.5.0-stored-xss-via-billing-code-in-sl-eob-invoice-php> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-126418](https://www.cve.org/CVERecord?id=CVE-2026-126418), CVE Terms of Use, modified 2026-11-17
- NVD: [CVE-2026-126418](https://nvd.nist.gov/vuln/detail/CVE-2026-126418), Public domain, modified 2026-11-19

---

Page: https://cve.day/CVE-2026-126418 · Whole record: https://cve.day/CVE-2026-126418.json · Rebuilt by cve.day 2026-11-25T22:59:50.652Z
