Home › CVE › JavaScript
CVE-2026-126451 — openemr
One of 80 openemr vulnerabilities published together by NVD: our article covers all of them.
JavaScriptWebVulnerabilitiesEndpoint securityResearch article
OpenEMR Before 8.5.0 Contains Stored XSS Vulnerability [CVE-2026-126451]
| CVE | CVE-2026-126451 |
|---|---|
| Vendor and product | openemr |
| Published | November 24, 2026 18:15 UTC |
| Research cut-off | November 24, 2026 17:30 UTC |
| Sources reviewed | 3: NVD record (last modified 2026-11-16); CISA KEV catalog; FIRST EPSS (2026-11-24) |
Executive summary
CVE-2026-126451 impacts OpenEMR versions prior to 8.5.0, enabling attackers to insert harmful scripts into document templates. The CVSS 3.1 rating is 5.4 MEDIUM, assigned by NVD [1]. The reviewed sources do not confirm exploitation [2]. The recommended action is to upgrade to the patched version 8.5.0 [1].
Key points
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 4.0 | CVSS 3.1 | Published | Last Modified | Record Status |
|---|---|---|---|---|---|---|---|---|
| CVE-2026-126451 | OpenEMR | OpenEMR | CWE-79 | 8.5 HIGH, scored by disclosure@vulncheck.com (Secondary) | 5.4 MEDIUM, scored by nvd@nist.gov (Primary) | 2026-11-13 | 2026-11-16 | Analyzed |
Vulnerability description
A stored cross-site scripting issue exists in OpenEMR versions prior to 8.5.0. Portal patients can inject javascript: URLs into document templatedata, which run in staff sessions [1]. This allows malicious scripts to access protected health information and CSRF tokens, and trigger staff or admin functions [1].
Attack surface and exploitation prerequisites
The vulnerability requires an attacker to submit an encounterForm value that is processed into an iframe src by DocumentTemplateRender. The CVSS vector indicates that user interaction is necessary [1].
Impact analysis
The CVSS 3.1 vector indicates that the vulnerability has limited confidentiality and integrity risks, with no impact on system availability [1]. The description notes that attackers may access protected health information and CSRF tokens, and execute staff or admin actions [1].
Affected products and versions
| Affected | Fixed |
|---|---|
| openemr < 8.5.0 | 8.5.0 |
Exploitation and threat intelligence status
CVE-2026-126451 is not included in the CISA KEV catalog as of 2026-11-24 [2]. The EPSS score estimates a 0.27% chance of exploitation within the next 30 days, with a percentile of 0.2001 [3].
Detection and exposure assessment
Users can determine if they are vulnerable by checking whether their installed version of OpenEMR is below 8.5.0 [1].
Remediation
The vendor has resolved the vulnerability in version 8.5.0 [1].
Remediation checklist
- Upgrade OpenEMR to version 8.5.0 to resolve the vulnerability [1].
- Audit document templates for potential injection points.
- Monitor system logs for signs of unusual script execution.
Evidence gaps
- The sources do not describe the technical mechanics of the flaw.
- The sources do not mention indicators of compromise.
- The sources do not provide a workaround for affected systems.
- The sources do not describe a scenario for exploitation.
- The sources do not describe the product's internal workings.
References
- CVE-2026-126451 record. NIST National Vulnerability Database (NVD), 2026-11-16. https://nvd.nist.gov/vuln/detail/CVE-2026-126451. Accessed 2026-11-24.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-24. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-24.
- EPSS score for CVE-2026-126451. FIRST, 2026-11-24. https://api.first.org/data/v1/epss?cve=CVE-2026-126451. Accessed 2026-11-24.
Summary
OpenEMR before 8.5.0 contains a stored cross-site scripting vulnerability that allows portal patients to run JavaScript in staff sessions by injecting javascript: URLs into document template_data. Attackers can submit an encounterForm value rendered unsanitized into an iframe src by DocumentTemplateRender, letting the script read PHI and CSRF tokens and call staff or admin endpoints.
Severity breakdown
High · 8.5
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
- high on confidentiality and integrity, none on availability
- Impact on other systems
- none
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
Frequently asked questions
What is CVE-2026-126451?
CVE-2026-126451 impacts OpenEMR versions prior to 8.5.0, enabling attackers to insert harmful scripts into document templates. The CVSS 3.1 rating is 5.4 MEDIUM, assigned by NVD. The reviewed sources do not confirm exploitation. The recommended action is to upgrade to the patched version 8.5.0. Weakness type: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (CWE-79).
How severe is CVE-2026-126451?
CVE-2026-126451 has a CVSS 4.0 base score of 8.5 (high), 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-126451 being exploited?
Not as far as is known: CVE-2026-126451 is not in CISA's Known Exploited Vulnerabilities catalog as of November 29, 2026. Exploit code or a proof of concept has been published, which makes attacks more likely. EPSS estimates a 0.8% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-126451?
openemr < 8.5.0 (fixed in 8.5.0).
How do I fix CVE-2026-126451?
Upgrade OpenEMR to version 8.5.0 to resolve the vulnerability. Audit document templates for potential injection points. Monitor system logs for signs of unusual script execution.
Timeline & sources
References
Related vulnerabilities & news
- Budibase Server Vulnerability Enables SSTI Through Row Search Query
- CVE-2026-137469 — siyuan-note siyuan
- AI Engine – MCP Server & AI Chatbot for WordPress Vulnerable to Limited Arbitrary File Upload
- React Library Vulnerable to Denial of Service via Specially Crafted HTTP Requests
- Convoy Before 26.3.7 Arbitrary File Read Vulnerability