---
id: CVE-2026-126475
title: OpenEMR before 8.5.0 Reflected XSS via searchEleNo in Auto-Suggest Endpoint
summary: >-
  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. At…
severity: medium
cvss: 6.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'
cvssSource: cna
cwe:
  - CWE-79
vendor: openemr
product: openemr
affected:
  - openemr < 8.5.0
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-17T14:07:13.453420Z'
exploitAvailable: true
published: '2026-11-13'
updated: '2026-11-17'
sourceUpdated: '2026-11-17T14:07:55.985Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-126475'
references:
  - url: 'https://github.com/openemr/openemr/security/advisories/GHSA-pv5m-vjm7-x355'
    label: GitHub Security Advisory (GHSA-pv5m-vjm7-x355)
  - url: >-
      https://www.vulncheck.com/advisories/openemr-before-8.5.0-reflected-xss-via-searcheleno-in-auto-suggest-endpoint
    label: >-
      VulnCheck Advisory: OpenEMR before 8.5.0 Reflected XSS via searchEleNo in
      Auto-Suggest Endpoint
tags:
  - cve.org
  - exploit-available
epss: 0.00226
epssPercentile: 0.13249
ingestedAt: '2026-11-13T10:36:39.586Z'
---

## Overview

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

- `openemr < 8.5.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
