Home › CVE › JavaScript
CVE-2026-126462 — openemr
One of 80 openemr vulnerabilities published together by NVD: our article covers all of them.
JavaScriptPHPWebVulnerabilitiesSummary
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.
Severity breakdown
Medium · 5.1
An attacker with a normal user account can exploit this over the network if a user views or visits something.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- yes, a normal user account
- User action needed
- yes, a user must view or visit something
- Impact
- low on confidentiality and integrity, none on availability
- Impact on other systems
- low on confidentiality and integrity, none on availability
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| openemr | < 8.5.0 | 8.5.0 |
Public exploits
Exploit available
References by type
Other references
Affected
- openemr
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-126462?
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. Weakness type: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (CWE-79).
How severe is CVE-2026-126462?
CVE-2026-126462 has a CVSS 4.0 base score of 5.1 (medium), from the CNA (vulncheck.com). An attacker with a normal user account can exploit this over the network if a user views or visits something.
Is CVE-2026-126462 being exploited?
Not as far as is known: CVE-2026-126462 is not in CISA's Known Exploited Vulnerabilities catalog as of November 30, 2026. Exploit code or a proof of concept has been published, which makes attacks more likely. EPSS estimates a 0.7% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-126462?
openemr < 8.5.0 (fixed in 8.5.0).
How do I fix CVE-2026-126462?
Update to a fixed release: openemr 8.5.0.
Timeline & sources
References
Related vulnerabilities & news
- Joomla Extension Vulnerability Allows Stored XSS via Link Validation
- Joomla Extension Vulnerability Allows Stored XSS via Thumbnail Widget
- Joomla Extension Vulnerability Allows Stored XSS in Smart Slider 3
- NextMove Lite Plugin Vulnerable to Stored XSS in WooCommerce
- AI Engine – MCP Server & AI Chatbot for WordPress Vulnerable to Limited Arbitrary File Upload