CVE-2026-126476
Description
OpenEMR before 8.5.0 contains a reflected cross-site scripting vulnerability in the Application module's auto-suggest endpoint, which echoes the searchMode POST parameter unencoded into a single-quoted onClick attribute. Attackers can induce an authenticated user to submit a single-quote payload to application/index/search, executing arbitrary JavaScript in that user's session to steal session cookies or disclose patient data.
How to fix
- openemr openemr8.5.0 or later
- open-emr openemr8.5.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| openemr openemr | v < 8.5.0 | 8.5.0 |
| open-emr openemr | v < 8.5.0 | 8.5.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.