Skip to content

CVE-2025-46719 Open WebUI vulnerable to stored XSS via unescaped markdown token in MarkdownTokens.svelte leading to full account takeover and RCE via functions

MediumCVSS 5.4 EPSS 0.59%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total

Description

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to version 0.6.6, a vulnerability in the way certain html tags in chat messages are rendered allows attackers to inject JavaScript code into a chat transcript. The JavaScript code will be executed in the user's browser every time that chat transcript is opened, allowing attackers to retrieve the user's access token and gain full control over their account. Chat transcripts can be shared with other users in the same server, or with the whole open-webui community if "Enable Community Sharing" is enabled in the admin panel. If this exploit is used against an admin user, it is possible to achieve Remote Code Execution on the server where the open-webui backend is hosted. This can be done by creating a new function which contains malicious python code. This vulnerability also affects chat transcripts uploaded to https://openwebui.com/c/<user>/<chat_id>, allowing for wormable stored XSS in https[:]//openwebui[.]com. Version 0.6.6 contains a patch for the issue.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
openwebui open webui < 0.6.6 0.6.6 Fixed
pypi open-webui(PyPI) < 0.6.6; = 0.1.124; = 0.1.125; = 0.2.0 +94 more 0.6.6 Fixed
open-webui = < 0.6.6 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi open-webui(PyPI) < 0.6.6 0.6.6
pypi open-webui(PyPI) = 0.1.124 No fix listed
pypi open-webui(PyPI) = 0.1.125 No fix listed
pypi open-webui(PyPI) = 0.2.0 No fix listed
pypi open-webui(PyPI) = 0.2.1 No fix listed
pypi open-webui(PyPI) = 0.2.2 No fix listed
pypi open-webui(PyPI) = 0.2.3 No fix listed
pypi open-webui(PyPI) = 0.2.4 No fix listed
pypi open-webui(PyPI) = 0.2.5 No fix listed
pypi open-webui(PyPI) = 0.3.0 No fix listed
pypi open-webui(PyPI) = 0.3.1 No fix listed
pypi open-webui(PyPI) = 0.3.10 No fix listed
pypi open-webui(PyPI) = 0.3.12 No fix listed
pypi open-webui(PyPI) = 0.3.13 No fix listed
pypi open-webui(PyPI) = 0.3.14 No fix listed
pypi open-webui(PyPI) = 0.3.15 No fix listed
pypi open-webui(PyPI) = 0.3.16 No fix listed
pypi open-webui(PyPI) = 0.3.17 No fix listed
pypi open-webui(PyPI) = 0.3.17.dev2 No fix listed
pypi open-webui(PyPI) = 0.3.17.dev3 No fix listed
pypi open-webui(PyPI) = 0.3.17.dev4 No fix listed
pypi open-webui(PyPI) = 0.3.17.dev5 No fix listed
pypi open-webui(PyPI) = 0.3.18 No fix listed
pypi open-webui(PyPI) = 0.3.19 No fix listed
pypi open-webui(PyPI) = 0.3.2 No fix listed
Show 75 more
ProductAffected versionsFixed in
pypi open-webui(PyPI) = 0.3.20 No fix listed
pypi open-webui(PyPI) = 0.3.21 No fix listed
pypi open-webui(PyPI) = 0.3.22 No fix listed
pypi open-webui(PyPI) = 0.3.23 No fix listed
pypi open-webui(PyPI) = 0.3.24 No fix listed
pypi open-webui(PyPI) = 0.3.25 No fix listed
pypi open-webui(PyPI) = 0.3.26 No fix listed
pypi open-webui(PyPI) = 0.3.27 No fix listed
pypi open-webui(PyPI) = 0.3.27.dev1 No fix listed
pypi open-webui(PyPI) = 0.3.27.dev2 No fix listed
pypi open-webui(PyPI) = 0.3.27.dev3 No fix listed
pypi open-webui(PyPI) = 0.3.28 No fix listed
pypi open-webui(PyPI) = 0.3.29 No fix listed
pypi open-webui(PyPI) = 0.3.3 No fix listed
pypi open-webui(PyPI) = 0.3.30 No fix listed
pypi open-webui(PyPI) = 0.3.30.dev1 No fix listed
pypi open-webui(PyPI) = 0.3.30.dev2 No fix listed
pypi open-webui(PyPI) = 0.3.31 No fix listed
pypi open-webui(PyPI) = 0.3.31.dev1 No fix listed
pypi open-webui(PyPI) = 0.3.32 No fix listed
pypi open-webui(PyPI) = 0.3.33 No fix listed
pypi open-webui(PyPI) = 0.3.33.dev1 No fix listed
pypi open-webui(PyPI) = 0.3.34 No fix listed
pypi open-webui(PyPI) = 0.3.35 No fix listed
pypi open-webui(PyPI) = 0.3.4 No fix listed
pypi open-webui(PyPI) = 0.3.5 No fix listed
pypi open-webui(PyPI) = 0.3.6 No fix listed
pypi open-webui(PyPI) = 0.3.7 No fix listed
pypi open-webui(PyPI) = 0.3.8 No fix listed
pypi open-webui(PyPI) = 0.3.9 No fix listed
pypi open-webui(PyPI) = 0.4.0 No fix listed
pypi open-webui(PyPI) = 0.4.0.dev1 No fix listed
pypi open-webui(PyPI) = 0.4.0.dev2 No fix listed
pypi open-webui(PyPI) = 0.4.1 No fix listed
pypi open-webui(PyPI) = 0.4.2 No fix listed
pypi open-webui(PyPI) = 0.4.3 No fix listed
pypi open-webui(PyPI) = 0.4.4 No fix listed
pypi open-webui(PyPI) = 0.4.5 No fix listed
pypi open-webui(PyPI) = 0.4.6 No fix listed
pypi open-webui(PyPI) = 0.4.6.dev1 No fix listed
pypi open-webui(PyPI) = 0.4.7 No fix listed
pypi open-webui(PyPI) = 0.4.8 No fix listed
pypi open-webui(PyPI) = 0.5.0 No fix listed
pypi open-webui(PyPI) = 0.5.0.dev1 No fix listed
pypi open-webui(PyPI) = 0.5.0.dev2 No fix listed
pypi open-webui(PyPI) = 0.5.1 No fix listed
pypi open-webui(PyPI) = 0.5.10 No fix listed
pypi open-webui(PyPI) = 0.5.11 No fix listed
pypi open-webui(PyPI) = 0.5.12 No fix listed
pypi open-webui(PyPI) = 0.5.13 No fix listed
pypi open-webui(PyPI) = 0.5.14 No fix listed
pypi open-webui(PyPI) = 0.5.15 No fix listed
pypi open-webui(PyPI) = 0.5.16 No fix listed
pypi open-webui(PyPI) = 0.5.17 No fix listed
pypi open-webui(PyPI) = 0.5.18 No fix listed
pypi open-webui(PyPI) = 0.5.19 No fix listed
pypi open-webui(PyPI) = 0.5.2 No fix listed
pypi open-webui(PyPI) = 0.5.20 No fix listed
pypi open-webui(PyPI) = 0.5.3 No fix listed
pypi open-webui(PyPI) = 0.5.3.dev1 No fix listed
pypi open-webui(PyPI) = 0.5.4 No fix listed
pypi open-webui(PyPI) = 0.5.5 No fix listed
pypi open-webui(PyPI) = 0.5.6 No fix listed
pypi open-webui(PyPI) = 0.5.7 No fix listed
pypi open-webui(PyPI) = 0.5.8 No fix listed
pypi open-webui(PyPI) = 0.5.9 No fix listed
pypi open-webui(PyPI) = 0.6.0 No fix listed
pypi open-webui(PyPI) = 0.6.1 No fix listed
pypi open-webui(PyPI) = 0.6.2 No fix listed
pypi open-webui(PyPI) = 0.6.3 No fix listed
pypi open-webui(PyPI) = 0.6.4 No fix listed
pypi open-webui(PyPI) = 0.6.5 No fix listed
pypi open-webui(PyPI) = 0.6.6.dev1 No fix listed
open-webui = < 0.6.6 No fix listed
openwebui open webui < 0.6.6 0.6.6

References