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.
Metrics
CVSS 3.1 5.4/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| openemr | openemr | < 8.5.0 |
References
- https://github.com/openemr/openemr/security/advisories/GHSA-rgv4-6mf9-hxwxExploit, Vendor Advisory
- https://www.vulncheck.com/advisories/openemr-before-8.5.0-stored-xss-via-eye-exam-next-visit-ordersThird Party Advisory
Timeline
- Published
- Nov 13, 2026
- Last modified
- Nov 17, 2026
- NVD status
- Analyzed