{"id":"CVE-2026-126475","summary":"OpenEMR before 8.5.0 Reflected XSS via searchEleNo in Auto-Suggest Endpoint","details":"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.","aliases":["GHSA-pv5m-vjm7-x355"],"modified":"2026-11-15T02:46:18.073559959Z","published":"2026-11-13T09:34:57.138Z","database_specific":{"cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126475.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126475.json"},{"type":"ADVISORY","url":"https://github.com/openemr/openemr/security/advisories/GHSA-pv5m-vjm7-x355"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126475"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/openemr-before-8.5.0-reflected-xss-via-searcheleno-in-auto-suggest-endpoint"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openemr/openemr","events":[{"introduced":"0"},{"fixed":"c1b2b8bcbe91aa81858f7ba8b25c31d9a82639a5"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"8.5.0"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"introduced":"0"},{"fixed":"8.5.0"}],"source":"DESCRIPTION"}]}}],"versions":["v3_0_1","v3_0_0","v2_9_0","v2_8_3","v2_8_2","v2_8_1","v2_8_0","v2_7_3-rc1","v2_7_2","v2_7_2-rc2","v2_7_2-rc1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-126475.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"}]}