Skip to content
OpenAdvisories
High · 8.7 Public exploit CVE-2025-64495 EUVD-2025-38257GHSA-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 Nov 8, 2025 · Updated Nov 10, 2025 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
open-webui open-webui < 0.6.35 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • AlphabugX/CVE-2025-64495-POC ★ 3 · Nov 10, 2025

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

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm open-webui < 0.6.35 0.6.35 GHSA-w7xj-8fx7-wfch
PyPI open-webui < 0.6.35 0.6.35 GHSA-w7xj-8fx7-wfch

References