<?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>Open WebUI (&gt;= 0.6.41, &lt; 0.11.1) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/open-webui--0.6.41--0.11.1/</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>Thu, 10 Sep 2026 18:53:33 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/open-webui--0.6.41--0.11.1/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 Same-Origin XSS via Terminal Port Preview</title><link>https://feed.craftedsignal.io/briefs/2026-09-open-webui-xss/</link><pubDate>Thu, 10 Sep 2026 18:53:33 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-09-open-webui-xss/</guid><description>An insecure sandbox configuration in the Open WebUI terminal port preview feature allows authenticated users to execute arbitrary JavaScript in the application's origin, leading to session token theft and account takeover.</description><content:encoded><![CDATA[<p>Open WebUI versions 0.8.11 through 0.11.0 contain a high-severity Cross-Site Scripting (XSS) vulnerability (CVE-2026-87995) within the terminal port-preview component. The application renders content from a terminal connection inside an iframe; however, the sandbox attribute for this iframe incorrectly included the <code>allow-same-origin</code> directive. Because the terminal proxy is served from the same origin as the primary application, this configuration effectively disables iframe isolation.</p>
<p>An authenticated attacker with access to a shared terminal server can host a malicious HTML page on a port. When an unsuspecting user views this port via the Open WebUI terminal preview, the attacker-supplied script executes within the application origin. This permits the script to access <code>localStorage</code>, extract sensitive session tokens, and perform actions on behalf of the victim, leading to full account takeover. The vulnerability persists unless the user has manually configured restrictive Content Security Policy (CSP) headers or utilized a terminal connection with an external URL, which forces a cross-origin boundary.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker obtains authenticated access to a shared terminal server environment managed by the Open WebUI instance.</li>
<li>Attacker deploys a malicious HTML file or script on a reachable port within that terminal server environment.</li>
<li>Attacker waits for a victim user (potentially an administrator) to open the Open WebUI file navigator.</li>
<li>Victim user navigates to the port list and selects the attacker-controlled port for preview.</li>
<li>Open WebUI renders the attacker's content within an iframe using the insecure <code>allow-same-origin</code> and <code>allow-scripts</code> sandbox flags.</li>
<li>Malicious script executes in the parent application context and accesses <code>window.parent.localStorage</code>.</li>
<li>Script exfiltrates the victim's session token to an attacker-controlled external server.</li>
<li>Attacker uses the stolen session token to assume the victim's identity and perform unauthorized operations, such as executing server-side code via Functions.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation results in total account takeover of the victim. If the compromised victim holds administrative privileges or permissions related to <code>workspace.functions</code>, the attacker can escalate to server-side code execution. The attack is limited to deployments where <code>TERMINAL_SERVER_CONNECTIONS</code> are configured and shared between users.</p>
<h2 id="recommendation">Recommendation</h2>
<p>Upgrade Open WebUI to version 0.11.1 or later immediately to resolve CVE-2026-87995. Ensure that the <code>terminalPreviewAllowSameOrigin</code> user setting remains disabled, which is the default behavior in the patched version. For administrators who cannot upgrade immediately, verify that a restrictive Content Security Policy (CSP) is applied via the <code>TERMINAL_PROXY_HEADERS</code> configuration to mitigate the risk of script exfiltration.</p>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>web-vulnerability</category><category>xss</category><category>session-theft</category><category>web-application</category><category>ssrf</category><category>cve-2026-87996</category><category>vulnerability</category><category>denial-of-service</category><category>cloud</category><category>oidc</category><category>authentication-bypass</category><category>sqlite</category><category>cve-2026-87016</category></item></channel></rss>