CVE-2026-126493
OpenEMR before 8.5.0 Stored XSS via OnsitePortalActivity tableArgs
4.8
Description
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.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| openemr | openemr | 0 → <8.5.0 | 8.5.0 | CVE.org |
| openemr | open-emr | <8.5.0 | 8.5.0 | NVD |