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-2024-8017

CVE-2024-8017: Open WebUI XSS Vulnerability

CVE-2024-8017 is a cross-site scripting flaw in Open WebUI that enables attackers to steal chat history, delete chats, or escalate privileges to admin. This article covers technical details, affected versions, and mitigation.

Published: May 26, 2026

CVE-2024-8017 Overview

CVE-2024-8017 is a Cross-Site Scripting (XSS) vulnerability in open-webui/open-webui versions <= 0.3.8. The flaw resides in the function that constructs the HTML for tooltips, allowing untrusted input to be rendered as executable script in the victim's browser. Attackers can execute actions with the victim's privileges, including stealing chat history, deleting conversations, and escalating attacker-controlled accounts to administrator when an admin is targeted. The weakness is tracked under CWE-79. Open WebUI is a self-hosted interface frequently deployed in front of local large language model (LLM) backends, expanding the impact to AI workflow operators.

Critical Impact

An authenticated attacker can hijack admin sessions, exfiltrate chat data, and elevate privileges to administrator within the Open WebUI deployment.

Affected Products

  • open-webui/open-webui versions <= 0.3.8
  • Self-hosted Open WebUI deployments exposed to multi-user access
  • Open WebUI instances integrated with local LLM backends and chat history storage

Discovery Timeline

  • 2025-03-20 - CVE-2024-8017 published to NVD
  • 2025-07-21 - Last updated in NVD database

Technical Details for CVE-2024-8017

Vulnerability Analysis

The vulnerability is a stored or reflected XSS issue rooted in the tooltip HTML construction logic of Open WebUI. The application concatenates user-controlled content into an HTML string used to render tooltip markup. Because the input is not sanitized or encoded before insertion, an attacker can embed script payloads that the browser executes in the context of the victim's session.

The issue maps to CWE-79: Improper Neutralization of Input During Web Page Generation. Exploitation requires the victim to view content that triggers the tooltip rendering path, which is consistent with the User Interaction requirement reflected in the CVSS vector. The scope changes because script executing in one user's browser session can interact with administrative APIs that affect other accounts and shared resources.

Root Cause

The root cause is unsafe HTML assembly in the tooltip rendering function. Untrusted strings are concatenated directly into markup rather than being escaped or assigned through safe DOM APIs such as textContent. Any field that flows into the tooltip becomes an injection sink, including chat content, model metadata, or other attacker-controllable values.

Attack Vector

An authenticated attacker with low privileges plants a payload in a field rendered through the vulnerable tooltip path. When another user, including an administrator, interacts with the affected interface element, the payload executes in their browser. The script can then issue authenticated requests to Open WebUI APIs to read chat history, delete chats, modify settings, or promote the attacker's account to administrator. No verified public proof-of-concept code is published in the references for this CVE. See the Huntr Bounty Report for technical context.

Detection Methods for CVE-2024-8017

Indicators of Compromise

  • Unexpected administrator role assignments in Open WebUI user records, especially for recently created low-privilege accounts.
  • Tooltip-related fields or chat objects containing <script> tags, on* event handlers, or javascript: URIs.
  • Bulk deletions of chat history or sudden disappearance of user conversations without corresponding user actions.
  • Outbound HTTP requests from browsers to unfamiliar domains immediately after rendering Open WebUI pages.

Detection Strategies

  • Inspect the Open WebUI database for stored fields containing HTML or script syntax that should not appear in normal chat or metadata content.
  • Review web server access logs for authenticated API calls to privilege-changing endpoints originating from non-admin user sessions.
  • Apply Content Security Policy (CSP) reporting to surface inline script execution attempts in the Open WebUI frontend.

Monitoring Recommendations

  • Alert on changes to user role attributes and admin group membership in Open WebUI.
  • Monitor for anomalous patterns of chat deletion or export API calls per user session.
  • Track Open WebUI version strings across deployments to identify hosts still running <= 0.3.8.

How to Mitigate CVE-2024-8017

Immediate Actions Required

  • Upgrade Open WebUI to a release later than 0.3.8 that addresses the tooltip XSS sink.
  • Audit existing user accounts and revoke administrator privileges granted during the exposure window.
  • Rotate API keys, session tokens, and credentials used within affected Open WebUI instances.
  • Restrict network access to Open WebUI so only trusted users can authenticate to the interface.

Patch Information

Upgrade open-webui/open-webui to a version higher than 0.3.8. Consult the Huntr Bounty Report for the disclosure details and refer to the project's release notes for the fix commit that introduces proper output encoding in the tooltip rendering function.

Workarounds

  • Place Open WebUI behind a reverse proxy that enforces a strict Content Security Policy disallowing inline scripts.
  • Limit Open WebUI access to single-user deployments until upgrade is complete, reducing the cross-user exploitation surface.
  • Review and purge chat content and metadata that may contain stored payloads before re-enabling multi-user access.
bash
# Configuration example: upgrade Open WebUI container to a patched release
docker pull ghcr.io/open-webui/open-webui:latest
docker stop open-webui && docker rm open-webui
docker run -d --name open-webui \
  -p 3000:8080 \
  -v open-webui:/app/backend/data \
  --restart always \
  ghcr.io/open-webui/open-webui:latest

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechOpenwebui

  • SeverityCRITICAL

  • CVSS Score9.0

  • EPSS Probability0.27%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-79
  • Technical References
  • Huntr Bounty Report
  • Related CVEs
  • CVE-2026-45315: Open WebUI XSS Vulnerability

  • CVE-2026-44549: Open WebUI XSS Vulnerability

  • CVE-2026-45303: Open WebUI XSS Vulnerability

  • CVE-2026-44721: Open WebUI Stored 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