OpenEMR before 8.5.0 Stored XSS via Eye Exam Next Visit Orders
- State
- Published
- Severity
- 5.1 Medium
- Published
- Nov 13, 2026
- Updated
- Nov 17, 2026
- Reserved
- Nov 10, 2026
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.
| Product | Versions |
|---|---|
| openemr openemr | before 8.5.0 Affected8.5.0 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.1 Medium | VulnCheck | |
| 3.1 | 5.4 Medium | VulnCheck |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- GitHub Security Advisory (GHSA-rgv4-6mf9-hxwx)Vendor Advisory
- VulnCheck Advisory: OpenEMR before 8.5.0 Stored XSS via Eye Exam Next Visit OrdersThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.