<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-03T23:34:10.670530+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2026-54011</id>
    <title>CVE-2026-54011 — Open WebUI: Stored XSS in Mermaid Markdown Preview</title>
    <updated>2026-10-03T23:34:10.701231+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> open-webui</p>
<p>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.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-54011"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-v8qj-hxv7-mgvv</id>
    <title>GHSA-v8qj-hxv7-mgvv — Open WebUI: Stored XSS in Mermaid Markdown Preview</title>
    <updated>2026-10-03T23:34:10.701365+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: open-webui</p>
<p>## Summary</p>
<p>Open WebUI renders Mermaid blocks from Markdown files in the file preview panel and inserts the generated SVG into the DOM using `innerHTML`.</p>
<p>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.</p>
<p>This is a confirmed stored XSS vulnerability reachable through normal product functionality.</p>
<p>## Affected Version</p>
<p>- `main`
- Reproduced on `v0.8.12`</p>
<p>## Affected Code</p>
<p>Mermaid is initialized in permissive mode:</p>
<p>https://github.com/open-webui/open-webui/blob/9bd84258d09eefe7bf975878fb0e31a5dadfe0f8/src/lib/utils/index.ts#L1698
The file preview path renders Mermaid output and injects the returned SVG into the DOM:</p>
<p>https://github.com/open-webui/open-webui/blob/9bd84258d09eefe7bf975878fb0e31a5dadfe0f8/src/lib/components/chat/FileNav/FilePreview.svelte#L133</p>
<p>## Impact</p>
<p>A successful exploit allows JavaScript execution in the victim’s browser under the Open WebUI origin when a malicious Markdown file is opened in the preview panel.</p>
<p>## PoC</p>
<p>A malicious `.md` file containing the follwowing contents can be used to trigger the bug:
````
```mermaid
flowchart LR
  A[click me]
  click A href "javascript:alert(document.domain)" "x"
```
````
Steps to reproduce: 
1- Create a new chat 
2- Enable Code Interpreter and browse and upload the file with `.m…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-v8qj-hxv7-mgvv"/>
  </entry>
</feed>
