# CVE-2026-126450: OpenEMR before 8.5.0 Stored XSS via Patient External ID in Prescriptions

- Severity: Medium 5.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/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.32%, higher than 27% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-13T09:35:13.396Z
- Modified: 2026-11-17T20:54:54.923Z
- Weaknesses: CWE-80
- 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 that allows authenticated users to inject scripts by placing payloads in the patient External ID field. The payload executes when other users open the patient's prescriptions via View Printable Version (HTML), running script in their browser sessions.

(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 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N`
- VulnCheck: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N`

## References

- <https://github.com/openemr/openemr/security/advisories/GHSA-w2f7-289j-92pp> (exploit, vendor-advisory)
- <https://www.vulncheck.com/advisories/openemr-before-8.5.0-stored-xss-via-patient-external-id-in-prescriptions> (third-party-advisory)

## Sources

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

---

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