Skip to main content
← All vulnerabilities
CVE-2025-64495GHSA-W7XJ-8FX7-WFCHPYSEC-2026-1741

Open WebUI vulnerable to Stored DOM XSS via prompts when 'Insert Prompt as Rich Text' is enabled resulting in ATO/RCE

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.6.35
1 proof of concept on GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. In versions 0.6.34 and below, the functionality that inserts custom prompts into the chat window is vulnerable to DOM XSS when 'Insert Prompt as Rich Text' is enabled, since the prompt body is assigned to the DOM sink .innerHtml without sanitisation. Any user with permissions to create prompts can abuse this to plant a payload that could be triggered by other users if they run the corresponding / command to insert the prompt. This issue is fixed in version 0.6.35.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • open-webui open-webui

    fixed in 0.6.35

  • open-webuinpm

    fixed in 0.6.35

  • open-webuiPyPI

    fixed in 0.6.35

References 4

GitHub · open-webui/open-webui

GitHub · AlphabugX/CVE-2025-64495-POC