Home › CVE › JavaScript
CVE-2026-126493 — openemr
One of 80 openemr vulnerabilities published together by NVD: our article covers all of them.
JavaScriptWebVulnerabilitiesSummary
OpenEMR before 8.5.0 contains a stored cross-site scripting vulnerability that allows low-privileged patient portal users to inject JavaScript via the tableArgs field of the onsiteportalactivity API. Attackers can store a payload with spaces that breaks out of an unquoted data-delete-id attribute, executing script when providers click the delete button on the audit review page.
Severity breakdown
Medium · 4.8
An attacker with a normal user account can exploit this over the network if a user is tricked into an action.
- 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 deliberately do something
- Impact
- none
- 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-126493?
OpenEMR before 8.5.0 contains a stored cross-site scripting vulnerability that allows low-privileged patient portal users to inject JavaScript via the tableArgs field of the onsiteportalactivity API. Attackers can store a payload with spaces that breaks out of an unquoted data-delete-id attribute, executing script when providers click the delete button on the audit review page. Weakness type: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (CWE-79).
How severe is CVE-2026-126493?
CVE-2026-126493 has a CVSS 4.0 base score of 4.8 (medium), from the CNA (vulncheck.com). An attacker with a normal user account can exploit this over the network if a user is tricked into an action.
Is CVE-2026-126493 being exploited?
Not as far as is known: CVE-2026-126493 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-126493?
openemr < 8.5.0 (fixed in 8.5.0).
How do I fix CVE-2026-126493?
Update to a fixed release: openemr 8.5.0.
Timeline & sources
References
Related vulnerabilities & news
- CVE-2026-93583 — EasyVista SAS EV Observe
- Kestra Before 1.3.36 Contains Reflected XSS Vulnerability
- 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