CVE-2025-64495

HIGH

Open WebUI < 0.6.35 - Stored Cross-Site Scripting via Rich Text Prompt Insertion

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2025-64495. PoCs published by AlphabugX.

AI-analyzed exploit summary This PoC demonstrates a Stored DOM XSS vulnerability in Open WebUI (CVE-2025-64495) via unsanitized HTML injection in prompts, leading to potential account takeover (ATO) or remote code execution (RCE) when 'Insert Prompt as Rich Text' is enabled. The exploit leverages JavaScript execution to force admin users to create malicious Python functions, enabling OS command execution.

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.

Exploits (1)

nomisec WORKING POC 3 stars
by AlphabugX · poc
https://github.com/AlphabugX/CVE-2025-64495-POC

This PoC demonstrates a Stored DOM XSS vulnerability in Open WebUI (CVE-2025-64495) via unsanitized HTML injection in prompts, leading to potential account takeover (ATO) or remote code execution (RCE) when 'Insert Prompt as Rich Text' is enabled. The exploit leverages JavaScript execution to force admin users to create malicious Python functions, enabling OS command execution.

Classification
Working Poc 100%
Attack Type
Xss
Complexity
Moderate
Reliability
Reliable
Target: Open WebUI (version not specified)
Auth required
Prerequisites: User permissions to create prompts · 'Insert Prompt as Rich Text' setting enabled · Victim interaction to trigger the malicious prompt
devstral-2 · analyzed Feb 16, 2026 Full analysis →

Scores

CVSS v3 8.7
EPSS 0.0001
EPSS Percentile 1.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-79
Status published
Products (3)
npm/open-webui 0 - 0.6.35npm
openwebui/open_webui < 0.6.35
pypi/open-webui 0 - 0.6.35PyPI
Published Nov 08, 2025
Tracked Since Feb 18, 2026