medium4.8
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 tableArg…
Impact
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.
An attacker can exploit this over the network, with a regular user account, but a user has to actively do something, such as open a file or a link.
Affected products · Openemr
| Product | Affected versions |
|---|---|
| Openemr | before 8.5.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/openemr/openemr/security/advisories/GHSA-r4hm-frcj-qr39
- https://www.vulncheck.com/advisories/openemr-before-8.5.0-stored-xss-via-onsiteportalactivity-tableargs
- https://github.com/advisories/GHSA-pv8c-r52v-h57w
- https://nvd.nist.gov/vuln/detail/CVE-2026-126493