A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-45303

CVE-2026-45303: Open WebUI XSS Vulnerability

CVE-2026-45303 is a cross-site scripting flaw in Open WebUI that allows script injection through HTML rendering views. Attackers can bypass sandbox restrictions to access parent data. This guide covers technical details, affected versions, impact, and mitigation.

Published: May 21, 2026

CVE-2026-45303 Overview

CVE-2026-45303 is a stored cross-site scripting (XSS) vulnerability in Open WebUI, a self-hosted artificial intelligence platform designed to operate entirely offline. Versions prior to 0.6.5 allow attackers to inject and execute scripts through the HTML rendering view of the chat interface. The frontend embeds chat HTML content inside an iFrame configured with the allow-scripts allow-forms allow-same-origin sandbox directive. This combination nullifies the sandbox protections and grants injected scripts access to the parent origin and its local storage. The issue is tracked as [CWE-79] and fixed in version 0.6.5.

Critical Impact

Injected scripts execute with access to the parent origin's local storage, enabling session token theft, account compromise, and full hijack of the Open WebUI instance.

Affected Products

  • Open WebUI versions prior to 0.6.5
  • Self-hosted Open WebUI deployments rendering HTML chat content
  • Multi-user Open WebUI instances where chats can be shared between accounts

Discovery Timeline

  • 2026-05-15 - CVE-2026-45303 published to NVD
  • 2026-05-19 - Last updated in NVD database

Technical Details for CVE-2026-45303

Vulnerability Analysis

Open WebUI provides an HTML rendering view that lets users visualize HTML content produced during a chat session. The frontend wraps this content in an iFrame and applies the sandbox attribute with allow-scripts, allow-forms, and allow-same-origin directives. Combining allow-scripts and allow-same-origin is explicitly warned against in the HTML sandbox specification because it effectively removes the isolation the sandbox is supposed to enforce. Injected JavaScript runs with the privileges of the parent document and can read localStorage, including authentication tokens. Only a narrow set of restrictions remain, such as suppressing alert() dialogs, which does not prevent meaningful attacker actions.

Root Cause

The root cause is an insecure iFrame sandbox configuration that pairs allow-scripts with allow-same-origin. Content rendered from untrusted chat data is treated as if it originated from the application itself. The application does not strip or neutralize active HTML elements such as <script> tags, inline event handlers, or <iframe> sources before rendering.

Attack Vector

An attacker with low privileges crafts a chat message or model response containing malicious HTML and JavaScript. When a victim opens the HTML rendering view for that chat, the payload executes inside the iFrame but with same-origin access to the Open WebUI parent window. The script can exfiltrate session data from localStorage, issue authenticated API requests, or modify stored chats. User interaction is required because the victim must trigger the HTML view, which is reflected in the attack complexity rating.

No public proof-of-concept code is available. The vendor's GitHub Security Advisory GHSA-4vrc-m9ch-6m3r documents the underlying sandbox misconfiguration and the fix.

Detection Methods for CVE-2026-45303

Indicators of Compromise

  • Chat records containing <script> tags, inline on* event handlers, or obfuscated JavaScript payloads stored in the Open WebUI database.
  • Outbound HTTP requests from user browsers to attacker-controlled domains shortly after rendering an HTML chat view.
  • Unexpected reads or writes to browser localStorage keys belonging to the Open WebUI origin.

Detection Strategies

  • Audit the Open WebUI chat database for stored messages containing HTML script constructs or suspicious iframe sources.
  • Inspect web server and reverse proxy logs for unusual API call patterns originating from authenticated sessions immediately after HTML view interactions.
  • Deploy Content Security Policy (CSP) reporting to capture script execution attempts that violate expected origins.

Monitoring Recommendations

  • Monitor browser telemetry for anomalous DOM access against the Open WebUI origin and correlate with chat rendering events.
  • Track the deployed Open WebUI version across hosts and alert when instances run versions earlier than 0.6.5.
  • Review user account activity for unexpected privilege changes or token reuse that may indicate session hijack from stolen localStorage data.

How to Mitigate CVE-2026-45303

Immediate Actions Required

  • Upgrade all Open WebUI instances to version 0.6.5 or later, which removes the unsafe sandbox configuration.
  • Invalidate active sessions and rotate API tokens for any account that may have rendered untrusted HTML content prior to patching.
  • Restrict who can submit chat content on shared or multi-tenant Open WebUI deployments until the upgrade is complete.

Patch Information

The vulnerability is fixed in Open WebUI 0.6.5. Refer to the Open WebUI GitHub Security Advisory GHSA-4vrc-m9ch-6m3r for vendor guidance and release details.

Workarounds

  • Disable the HTML rendering view feature in deployments that cannot upgrade immediately.
  • Place Open WebUI behind a reverse proxy that injects a strict Content Security Policy disallowing inline scripts on the application origin.
  • Limit Open WebUI access to trusted users only and avoid sharing chats between accounts until patched.
bash
# Configuration example: upgrade Open WebUI container to the patched release
docker pull ghcr.io/open-webui/open-webui:0.6.5
docker stop open-webui && docker rm open-webui
docker run -d --name open-webui \
  -p 3000:8080 \
  -v open-webui:/app/backend/data \
  ghcr.io/open-webui/open-webui:0.6.5

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechOpenwebui

  • SeverityHIGH

  • CVSS Score7.7

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityHigh
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-45315: Open WebUI XSS Vulnerability

  • CVE-2026-44549: Open WebUI XSS Vulnerability

  • CVE-2026-44721: Open WebUI Stored XSS Vulnerability

  • CVE-2026-44568: Open WebUI XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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