<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Cpe:2.3:a:openwebui:open_webui:0.3.8:*:*:*:*:*:*:* - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/cpes/cpe2.3aopenwebuiopen_webui0.3.8/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Fri, 08 May 2026 19:00:28 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/cpes/cpe2.3aopenwebuiopen_webui0.3.8/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>Open-WebUI Stored XSS Vulnerability via Model Description</title><link>https://feed.craftedsignal.io/briefs/2026-05-08-open-webui-xss/</link><pubDate>Fri, 08 May 2026 19:00:28 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-05-08-open-webui-xss/</guid><description>Open-WebUI is vulnerable to stored cross-site scripting (XSS) where an authenticated user with model creation permissions can inject a malicious model description containing a javascript: URI within a markdown link that, when clicked, executes arbitrary JavaScript in another user's browser, potentially leading to session hijacking; this affects versions v0.3.5 through v0.8.12.</description><content:encoded><![CDATA[<p>Open-WebUI versions v0.3.5 through v0.8.12 are susceptible to a stored cross-site scripting (XSS) vulnerability. This flaw allows authenticated users with model creation permissions to inject malicious JavaScript code into the model description field. When other users, including administrators, view the affected model's description in the chat UI and click the specially crafted markdown link, the injected JavaScript code executes within their browsers. This can lead to session hijacking, sensitive data theft, or other unauthorized actions. The vulnerability stems from insufficient sanitization of user-supplied model descriptions before rendering them in the user interface. The issue is resolved in version v0.9.0. This vulnerability is distinct from CVE-2024-7990, as it leverages a different bypass mechanism involving markdown links with javascript: URIs.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker authenticates to the Open-WebUI instance with an account that has model creation permissions (workspace.models).</li>
<li>The attacker crafts a malicious model description containing a markdown link with a <code>javascript:</code> URI (e.g., <code>[text](javascript:alert())</code>).</li>
<li>The attacker uses the <code>/api/v1/models/create</code> endpoint to create a new model with the malicious description.</li>
<li>The Open-WebUI application stores the unsanitized model description in the database.</li>
<li>A victim user (including an administrator) navigates to the chat UI and views the model with the malicious description.</li>
<li>The application retrieves the model description from the database and renders it using <code>sanitizeResponseContent</code>, <code>replaceAll('\n', '&lt;br&gt;')</code>, <code>marked.parse()</code>, and <code>{@html ...}</code>.</li>
<li>The <code>marked.parse()</code> function converts the markdown link into an <code>&lt;a href=&quot;javascript:...&quot;&gt;</code> HTML element.</li>
<li>The victim user clicks on the malicious link, triggering the execution of the JavaScript code within their browser. This could exfiltrate the user's access token via a crafted <code>javascript:</code> url.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of this vulnerability allows an attacker to execute arbitrary JavaScript code within the context of a victim's browser. This can lead to a variety of malicious outcomes, including session hijacking, theft of sensitive information (such as access tokens), defacement of the user interface, and potentially, remote code execution if combined with other vulnerabilities. Given the ability to steal admin tokens, attackers can create new tools to execute arbitrary code, which impacts all Open-WebUI users.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade Open-WebUI to version v0.9.0 or later, where the output of <code>marked.parse()</code> is wrapped with <code>DOMPurify.sanitize()</code> to mitigate the XSS vulnerability.</li>
<li>Deploy the Sigma rule &quot;Detect Open-WebUI Model Creation with Javascript URI&quot; to identify attempts to create models with malicious descriptions.</li>
<li>Review existing model descriptions for suspicious content, particularly markdown links with <code>javascript:</code> URIs, and remove or sanitize any identified malicious entries.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>xss</category><category>open-webui</category><category>web-application</category></item></channel></rss>