The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-32119

CVE-2026-32119: OpenEMR DOM-Based Stored XSS Vulnerability

CVE-2026-32119 is a DOM-based stored XSS flaw in OpenEMR's jQuery SearchHighlight plugin that enables authenticated attackers to inject malicious JavaScript. This article covers technical details, affected versions, and mitigation.

Published: March 20, 2026

CVE-2026-32119 Overview

CVE-2026-32119 is a DOM-based stored Cross-Site Scripting (XSS) vulnerability affecting OpenEMR, a widely-used free and open source electronic health records (EHR) and medical practice management application. The vulnerability exists in the jQuery SearchHighlight plugin (library/js/SearchHighlight.js) and allows authenticated users with encounter form write access to inject arbitrary JavaScript code that executes in another clinician's browser session.

Critical Impact

Malicious JavaScript injected by an attacker can execute in the context of another clinician's authenticated session when they use the search/find feature on the Custom Report page, potentially compromising patient data and clinical workflows.

Affected Products

  • OpenEMR versions prior to 8.0.0.2
  • jQuery SearchHighlight plugin (library/js/SearchHighlight.js)
  • Custom Report page search functionality

Discovery Timeline

  • 2026-03-19 - CVE CVE-2026-32119 published to NVD
  • 2026-03-19 - Last updated in NVD database

Technical Details for CVE-2026-32119

Vulnerability Analysis

This DOM-based stored XSS vulnerability arises from unsafe handling of user-supplied data within the jQuery SearchHighlight plugin. The vulnerability is particularly concerning in healthcare environments where clinicians routinely access patient records and use search functionality to navigate complex medical documentation.

The attack requires an authenticated user with encounter form write access, which represents a significant portion of clinical staff in typical healthcare deployments. The changed scope (S:C in CVSS vector) indicates that the vulnerability can affect resources beyond its security scope, meaning an attacker can impact other users' sessions and potentially access their data.

Root Cause

The root cause lies in the SearchHighlight plugin's implementation of text highlighting. The plugin reverses server-side HTML entity encoding by reading decoded text from DOM text nodes, concatenating it into a raw HTML string, and passing it to jQuery's $() constructor for HTML parsing. This pattern allows encoded malicious payloads stored in the database to be decoded and executed as JavaScript when rendered in the victim's browser.

When jQuery's $() constructor receives a string containing HTML, it parses and executes any embedded scripts, effectively bypassing server-side sanitization efforts.

Attack Vector

The attack vector is network-based and requires user interaction. An authenticated attacker with encounter form write access injects malicious JavaScript payload into form data. When another clinician subsequently uses the search/find feature on the Custom Report page, the SearchHighlight plugin processes the stored data, reverses the HTML entity encoding, and passes the malicious content to jQuery's constructor, triggering script execution in the victim's authenticated session.

javascript
 /**
  * SearchHighlight plugin for jQuery
- * 
+ *
  * Thanks to Scott Yang <http://scott.yang.id.au/>
  * for the original idea and some code
- *    
- * @author Renato Formato <renatoformato@virgilio.it> 
- *  
- * @version 0.33
+ *
+ * @author Renato Formato <renatoformato@virgilio.it>
+ * @author Michael A. Smith <michael@opencoreemr.com>
+ * @copyright Copyright (c) 2026 OpenCoreEMR Inc <https://opencoreemr.com/>
+ *
+ * @version 0.34
  *
  *  Options
  *  - exact (string, default:"exact") 

Source: GitHub Commit Update

Detection Methods for CVE-2026-32119

Indicators of Compromise

  • Unusual JavaScript or HTML tags present in encounter form data fields
  • Encoded script content such as <script> or event handlers like onerror, onload in database records
  • Unexpected network requests originating from clinician browser sessions to external domains
  • Reports from users about unusual browser behavior when using the Custom Report search feature

Detection Strategies

  • Implement Content Security Policy (CSP) headers to detect and block inline script execution
  • Monitor database fields associated with encounter forms for patterns indicative of XSS payloads
  • Deploy web application firewall (WAF) rules to detect XSS injection attempts in form submissions
  • Review application logs for suspicious data patterns in encounter-related API requests

Monitoring Recommendations

  • Enable browser console logging and monitor for JavaScript errors related to blocked scripts
  • Audit user activity on encounter forms, particularly from accounts with write access
  • Implement real-time alerting for CSP violation reports
  • Regularly scan stored data for known XSS payload patterns

How to Mitigate CVE-2026-32119

Immediate Actions Required

  • Upgrade OpenEMR to version 8.0.0.2 or later immediately
  • Review encounter form data for any existing malicious payloads
  • Implement Content Security Policy headers to mitigate exploitation risk
  • Audit user accounts with encounter form write access and verify their legitimacy

Patch Information

OpenEMR version 8.0.0.2 addresses this vulnerability by updating the SearchHighlight plugin to version 0.34. The fix modifies how the plugin handles text processing to prevent the unsafe conversion of decoded text to raw HTML. For detailed patch information, refer to the GitHub Commit Update and the GitHub Security Advisory GHSA-q283.

Workarounds

  • Deploy a strict Content Security Policy that blocks inline script execution as a temporary mitigation
  • Restrict encounter form write access to only essential personnel until patching is complete
  • Consider temporarily disabling the search/highlight functionality on the Custom Report page
  • Implement additional input validation at the application layer for encounter form submissions
bash
# Example CSP header configuration for Apache
# Add to httpd.conf or .htaccess
Header set Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; style-src 'self' 'unsafe-inline';"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechOpenemr

  • SeverityMEDIUM

  • CVSS Score4.4

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-q283
  • Related CVEs
  • CVE-2026-33348: OpenEMR Stored XSS Vulnerability

  • CVE-2026-33346: OpenEMR Stored XSS Vulnerability

  • CVE-2026-33303: OpenEMR Stored XSS Vulnerability

  • CVE-2026-33299: OpenEMR Stored XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English