Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-33348

CVE-2026-33348: OpenEMR Stored XSS Vulnerability

CVE-2026-33348 is a stored cross-site scripting flaw in OpenEMR that allows authenticated attackers to inject malicious JavaScript through Eye Exam form answers. This article covers technical details, affected versions, and patches.

Published: March 27, 2026

CVE-2026-33348 Overview

OpenEMR, a widely-used free and open source electronic health records (EHR) and medical practice management application, contains a stored cross-site scripting (XSS) vulnerability in the Eye Exam form display functionality. Users with the Notes - my encounters role can fill Eye Exam forms in patient encounters, and the form answers are displayed on the encounter page and visit history. Versions prior to 8.0.0.3 fail to properly sanitize user input, allowing authenticated attackers with the specific role to inject arbitrary JavaScript into the system through malicious form answer payloads.

Critical Impact

Authenticated attackers can inject persistent JavaScript payloads that execute in the browser context of any user viewing patient encounter pages or visit history, potentially leading to session hijacking, credential theft, or unauthorized actions within the healthcare system.

Affected Products

  • OpenEMR versions prior to 8.0.0.3
  • OpenEMR installations with Notes - my encounters role enabled
  • Healthcare organizations using OpenEMR Eye Exam form functionality

Discovery Timeline

  • 2026-03-25 - CVE-2026-33348 published to NVD
  • 2026-03-26 - Last updated in NVD database

Technical Details for CVE-2026-33348

Vulnerability Analysis

This stored XSS vulnerability (CWE-79) exists in the function responsible for displaying Eye Exam form answers within OpenEMR. The application fails to properly sanitize or encode user-supplied input before rendering it in HTML context, allowing malicious JavaScript to be persisted in the database and later executed when other users view the affected pages.

The vulnerability requires authentication with the Notes - my encounters role, which provides access to fill Eye Exam forms. Once an attacker submits a form containing malicious JavaScript in the answer fields, the payload is stored and subsequently rendered without proper encoding when any user with form access views the patient encounter pages or visit history.

In healthcare environments, this vulnerability poses significant risks including potential exposure of protected health information (PHI), session hijacking of privileged users, and the ability to perform unauthorized actions under the context of victim users.

Root Cause

The root cause of this vulnerability is insufficient input validation and output encoding in the Eye Exam form answer display functionality. The application accepts arbitrary input in form answer fields and renders this content directly in the HTML response without proper sanitization, allowing script tags and JavaScript event handlers to execute in the user's browser context.

Attack Vector

The attack requires network access and low-privilege authentication with the Notes - my encounters role. An attacker can exploit this vulnerability by:

  1. Authenticating to OpenEMR with a user account possessing the Notes - my encounters role
  2. Navigating to a patient encounter and accessing the Eye Exam form
  3. Entering malicious JavaScript payloads in form answer fields (e.g., <script> tags or event handlers)
  4. Submitting the form, causing the malicious payload to be stored in the database
  5. When any user with form access views the encounter page or visit history, the JavaScript executes in their browser

The vulnerability does not require user interaction beyond normal application use, as the malicious code executes automatically when viewing affected pages. Technical details and the specific fix can be found in the GitHub Security Advisory.

Detection Methods for CVE-2026-33348

Indicators of Compromise

  • Unusual JavaScript code or HTML tags present in Eye Exam form answer database fields
  • Unexpected network requests originating from OpenEMR pages to external domains
  • User session cookies being transmitted to unauthorized endpoints
  • Anomalous user behavior patterns following access to patient encounter pages

Detection Strategies

  • Monitor web application logs for suspicious form submissions containing script tags or JavaScript event handlers
  • Implement Content Security Policy (CSP) headers to detect and block inline script execution
  • Deploy web application firewall (WAF) rules to identify XSS payload patterns in form submissions
  • Review database records for Eye Exam form answers containing potentially malicious content

Monitoring Recommendations

  • Enable detailed logging for all form submissions within OpenEMR
  • Configure alerts for CSP violation reports indicating blocked script execution attempts
  • Monitor for unusual session activity or authentication patterns following encounter page access
  • Implement browser-based monitoring to detect unexpected DOM modifications or script execution

How to Mitigate CVE-2026-33348

Immediate Actions Required

  • Upgrade OpenEMR to version 8.0.0.3 or later immediately
  • Audit existing Eye Exam form data for potentially malicious content
  • Review access logs for users with Notes - my encounters role for suspicious activity
  • Consider temporarily restricting Eye Exam form access until patching is complete

Patch Information

OpenEMR has released version 8.0.0.3 which contains the security fix for this vulnerability. The patch implements proper output encoding for form answer display, preventing JavaScript execution from user-supplied input. Organizations should upgrade to this version as soon as possible. The specific commit addressing this vulnerability is available at the GitHub Commit, and the patched release can be obtained from GitHub Release v8.0.0.3.

Workarounds

  • Implement a web application firewall (WAF) with XSS detection rules to filter malicious input
  • Deploy Content Security Policy headers with strict script-src directives to prevent inline script execution
  • Restrict the Notes - my encounters role to only trusted personnel until patching is complete
  • Consider disabling the Eye Exam form functionality temporarily in high-risk environments
bash
# Example Apache configuration to add Content Security Policy headers
# Add to OpenEMR virtual host configuration
<IfModule mod_headers.c>
    Header set Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline';"
    Header set X-Content-Type-Options "nosniff"
    Header set X-XSS-Protection "1; mode=block"
</IfModule>

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 Score5.4

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Release v8.0.0.3
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-6ch2-p26g-x33h
  • Related CVEs
  • CVE-2026-33346: OpenEMR Stored XSS Vulnerability

  • CVE-2026-33303: OpenEMR Stored XSS Vulnerability

  • CVE-2026-33299: OpenEMR Stored XSS Vulnerability

  • CVE-2026-32119: OpenEMR DOM-Based 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