Cross-site scripting in Open WebUI - CVE-2025-64495
Published: April 24, 2026
Open WebUI
Detailed vulnerability description
The vulnerability allows a remote user to execute arbitrary script in a victim's browser.
The vulnerability exists due to cross-site scripting in the RichTextInput.svelte prompt insertion functionality when processing prompt content as rich text. A remote user can create a crafted prompt and have a victim run the corresponding slash command to execute arbitrary script in a victim's browser.
The issue is exploitable only when the victim has enabled the 'Insert Prompt as Rich Text' setting, and exploitation requires user interaction to run the corresponding prompt command.