Reflected cross-site scripting in OpenEMR auto-suggest searchMode parameter
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Active
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
OpenEMR from 0 before 8.5.0 contains a reflected cross-site scripting flaw in the Application module's auto-suggest endpoint, which places the searchMode POST parameter unencoded into a single-quoted onClick attribute. An attacker can induce an authenticated user to submit a crafted request, executing JavaScript in that user's session to steal session cookies or disclose patient data. The attack needs user interaction, and a public exploit is linked in the references (CWE-79).
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade OpenEMR to version 8.5.0 or later, which fixes this issue.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
- Fix · CNA openemr (openemr) Fixed in 8.5.0
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
openemr 8.5.0
77 records Highest priority Priority HIGH 4 HIGH, 16 MEDIUM, 57 LOW
Other records, highest priority first
- TI-2026-91361 Missing authorization in OpenEMR custom export and chart-tracker scriptsPriority HIGH 73
- TI-2026-91381 Second-order SQL injection in OpenEMR IPPF contraceptive issue featurePriority HIGH 72
- TI-2026-91321 Unrestricted file upload in OpenEMR lets billing users execute PHPPriority HIGH 69
Timeline
- 2026-11-13 Threatist record created from CVE-2026-126476
- 2026-11-13 Alias added: GHSA-jrm3-23cv-wv83
- 2026-11-13 CISA SSVC decision points changed
References
More openemr vulnerabilities
- TI-2026-91365 OpenEMR OAuth scope flaw exposes FHIR Patient records to attackers CVSS 4.0CRITICAL 9.3
- TI-2026-86808 Token replay and PIN brute force in OpenEMR one-time authentication CVSS 4.0CRITICAL 9.3
- TI-2026-24664 SQL Injection Vulnerability in ajax graphs library (OpenEMR) CVSS 3.1HIGH 8.8
- TI-2026-85645 Missing access checks in OpenEMR let users reassign documents CVSS 3.1CRITICAL 9.6
- TI-2026-28796 OpenEMR 8.2.0 Remote Code Execution via CategoryTree eval() Injection CVSS 4.0CRITICAL 9.4
- TI-2026-20308 OpenEMR's payments gateway_api_key secret rendered into client JS code CVSS 3.1CRITICAL 9.6
Sources
- CVE-2026-126476 · CVE Program
- CVE-2026-126476 · NVD
- FIRST EPSS
- GHSA-jrm3-23cv-wv83 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences