CVE-2025-64495
HIGHOpen WebUI < 0.6.35 - Stored Cross-Site Scripting via Rich Text Prompt Insertion
Title source: llmExploitation 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)
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.
References (3)
Scores
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N