CVE-2025-64495
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-11-08

Last updated on: 2025-11-26

Assigner: GitHub, Inc.

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-11-08
Last Modified
2025-11-26
Generated
2026-06-16
AI Q&A
2025-11-08
EPSS Evaluated
2026-06-15
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
openwebui open_webui to 0.6.35 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability is a DOM-based Cross-Site Scripting (XSS) issue in Open WebUI versions 0.6.34 and below. When the 'Insert Prompt as Rich Text' feature is enabled, the application inserts custom prompts into the chat window using the .innerHtml property without sanitizing the input. This allows any user with permissions to create prompts to inject malicious scripts that could execute when other users trigger the corresponding command to insert the prompt.

Impact Analysis

The vulnerability can lead to the execution of malicious scripts in the context of other users, potentially allowing attackers to steal sensitive information, hijack user sessions, or perform actions on behalf of other users. Since the vulnerability requires user interaction to trigger the payload, it can be used to compromise user data and integrity within the platform.

Mitigation Strategies

Upgrade Open WebUI to version 0.6.35 or later, where the vulnerability is fixed. Additionally, disable the 'Insert Prompt as Rich Text' feature or restrict permissions to create prompts to trusted users only until the upgrade can be applied.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-64495. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart