CVE-2026-126475
OpenEMR before 8.5.0 Reflected XSS via searchEleNo in Auto-Suggest Endpoint
5.1
Description
OpenEMR before 8.5.0 contains a reflected cross-site scripting vulnerability that allows authenticated attackers to execute JavaScript by injecting payloads into the searchEleNo POST parameter of the application/index/search endpoint. Attackers can break out of unencoded HTML attributes in auto-suggest.phtml to inject event handlers that fire on DOM insertion, stealing non-HttpOnly session cookies and patient data.
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 |