# CVE-2026-126462: OpenEMR before 8.5.0 Stored XSS via Eye Exam Next Visit Orders

- Severity: Medium 5.1 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/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.24%, higher than 15% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-13T09:35:05.862Z
- Modified: 2026-11-17T21:17:39.083Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, 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 with Eye Exam edit permission to inject scripts via the Next Visit Orders PLAN[] field. Attackers can store a payload closing the textarea in view.php, executing JavaScript when another user opens the Eye Exam editor to steal session identifiers or clinical data.

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

## References

- <https://github.com/openemr/openemr/security/advisories/GHSA-rgv4-6mf9-hxwx> (exploit, vendor-advisory)
- <https://www.vulncheck.com/advisories/openemr-before-8.5.0-stored-xss-via-eye-exam-next-visit-orders> (third-party-advisory)

## Sources

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

---

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