Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-54011— Open WebUI: Stored XSS in Mermaid Markdown Preview

CVSS 8.7 · High EPSS 0.23% · P14

Affected Version Matrix 1

VendorProductVersion RangeStatus
open-webuiopen-webui< 0.9.6affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-54011

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Open WebUI: Stored XSS in Mermaid Markdown Preview
Source: CVE Program / CVE List V5
Vulnerability Description
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.6,Open WebUI renders Mermaid blocks from Markdown files in the file preview panel and inserts the generated SVG into the DOM using innerHTML. Because Mermaid is configured with securityLevel: 'loose', attacker-controlled Mermaid content can be rendered unsafely in this flow. A working payload was validated through the Markdown preview path, resulting in JavaScript execution in the victim’s browser under the application origin. This vulnerability is fixed in 0.9.6.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
Open WebUI 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Open WebUI是Open WebUI团队开源的一个可扩展、功能丰富、用户友好的自托管 WebUI。 Open WebUI 0.9.6之前版本存在跨站脚本漏洞,该漏洞源于应用在处理Markdown文件预览时,使用innerHTML将Mermaid生成的SVG插入DOM,且Mermaid配置了宽松的安全等级,导致攻击者控制的Mermaid内容不安全渲染,可能造成在受害者浏览器中执行JavaScript脚本。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
open-webuiopen-webui < 0.9.6 -

II. Public POCs for CVE-2026-54011

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium
Qwen3.6-35B-A3B · 5308 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-54011

登录查看更多情报信息。

Vendor Advisories for CVE-2026-54011 (1)

Same Patch Batch · open-webui · 2026-06-23 · 15 CVEs total

CVE-2026-540088.5 HIGHOpen WebUI: Redirect-Bypass SSRF in OAuth `_process_picture_url`
CVE-2026-540108.3 HIGHOpen WebUI: Forged chat-file link allows cross-user file read and deletion
CVE-2026-540187.7 HIGHOpen WebUI: SSRF Protection Bypass in Playwright Web Loader via HTTP Redirects
CVE-2026-540137.6 HIGHOpen WebUI: Stored XSS to Account Takeover via Model Profile Images in Open WebUI
CVE-2026-540127.1 HIGHOpen WebUI: Forged model meta.knowledge allows cross-user file read and deletion
CVE-2026-540096.5 MEDIUMOpen WebUI: Cross-user file disclosure via /api/chat/completions image_url field
CVE-2026-540196.5 MEDIUMOpen WebUI: RAG ACL Bypass in Milvus Multitenancy Mode
CVE-2026-540156.4 MEDIUMOpen WebUI: Prompt history IDOR: unbound history_id allows cross-prompt read and deletion
CVE-2026-540216.3 MEDIUMOpen WebUI: Authenticated users can target arbitrary configured Ollama backends via unguar
CVE-2026-540225.3 MEDIUMOpen WebUI: Any authenticated user can read other users' private notes via Socket.IO
CVE-2026-540164.3 MEDIUMOpen WebUI: Open WebUI BOLA: `search_knowledge_files` Allows Unauthorized Knowledge Base F
CVE-2026-540064.3 MEDIUMOpen WebUI: Calendar event re-parenting allows writing events into another user's calendar
CVE-2026-540144.3 MEDIUMOpen WebUI: Sibling-Prefix Path Traversal via /cache/{path} in open-webui/open-webui
CVE-2026-54007Open WebUI: Cross-origin postMessage confirmation bypass via action:submit

IV. Related Vulnerabilities

V. Comments for CVE-2026-54011

No comments yet


Leave a comment