Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain authenticated Open Webui account
-
DeliveryPost crafted tool-call details block with malicious embeds
-
ExploitVictim views channel/chat/citation content
-
ExecutionEmbed mounts in script-enabled iframe
-
PersistJavaScript executes in victim browser
-
ImpactPhishing or session hijack (if same-origin sandbox enabled)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires: (1) a valid authenticated account on the target Open Webui instance able to post channel messages, chat messages, or citation content (PR:L); (2) the attacker crafting a Markdown tool-call details block whose embeds attribute is treated as tool output and mounted in a script-enabled iframe; and (3) a victim passively viewing the malicious content (UI:P). Limiting factors: exploitation is confined to versions 0.6.31 up to (not including) 0.11.4; it cannot be performed unauthenticated; and escalation to session hijacking specifically requires the non-default-sensitive iframeSandboxAllowSameOrigin option to be enabled - without it, impact is limited to in-app phishing and arbitrary script execution in the viewer's session. |
| Impact | This is a moderate-severity stored XSS (CVSS 4.0 base 5.1, CWE-79) that should be treated as a real-but-not-urgent patching priority rather than an emergency. The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N) confirms network reachability and low attack complexity, but two factors meaningfully constrain real-world risk: PR:L means the attacker must already hold a valid authenticated account on the instance, and UI:P means a victim must passively view the malicious message/citation for the payload to fire. Impact is rated low on confidentiality and integrity only (no availability), consistent with in-browser script execution rather than host compromise. No EPSS score, no CISA KEV listing, and no public POC were supplied, so there is no public exploit identified at time of analysis and no evidence of active exploitation - the signals are internally consistent (medium CVSS, no exploitation telemetry) rather than conflicting. The one escalation path worth flagging is conditional: the description states session hijacking is possible only where iframeSandboxAllowSameOrigin is enabled, so impact varies by configuration. Note the description emphasizes that payloads run JavaScript in viewers' browsers (a sandbox/scope escape typical of XSS), which arguably warrants a scope change - see assessed vectors below. |
| Exploit ScenarioDerived | An attacker who already has an account on an Open Webui instance (0.6.31 up to but not including 0.11.4) posts a crafted channel message, chat message, or citation containing a Markdown tool-call details block whose embeds attribute carries malicious markup. When another user views that content, the Markdown renderer mounts the embed in a script-enabled iframe and executes the attacker's JavaScript in the victim's browser, enabling in-app phishing or, where iframeSandboxAllowSameOrigin is enabled, session hijacking. No public exploit code was identified at time of analysis; exploitation requires low complexity but depends on a victim viewing the content. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 12, 2026
Stored cross-site scripting (XSS) in Open WebUI versions 0.6.31 up to but not including 0.11.4 allows authenticated users to inject malicious JavaScript via crafted Markdown tool-call details blocks whose embeds attribute is mounted in script-enabled iframes. A victim passively viewing the crafted channel message, chat message, or citation content can be subjected to in-app phishing or, if the non-default iframeSandboxAllowSameOrigin option is enabled, session hijacking. This moderate-severity vulnerability (CVSS 4.0 base 5.1) has no public exploit identified at time of analysis and requires a valid account plus victim interaction.
RemediationAI
Apply the vendor-released patch by upgrading Open WebUI to version 0.11.4 or later (advisory: https://github.com/open-webui/open-webui/security/advisories/GHSA-9wj4-mcm3-ppj6). If immediate upgrade is not feasible, disable the non-default iframeSandboxAllowSameOrigin option, which prevents the escalation from in-app phishing to session hijacking, though this may break legitimate functionality that relies on same-origin iframe behavior. Additionally, restrict the ability to post channel messages, chat messages, or citation content to trusted users to reduce the attack surface, as exploitation requires an authenticated account. Review the VulnCheck advisory for further details: https://www.vulncheck.com/advisories/open-webui-0.6.31-before-0.11.4-stored-xss-via-tool-call-embeds. Note that no public exploit code has been identified at time of analysis.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in Open WebUI's Markdown renderer, which fails to properly distinguish between user-authored tool-call details blocks and legitimate tool output. Specifically, the embeds attribute of these user-controlled blocks is treated as trusted content and mounted within script-enabled iframes, allowing arbitrary JavaScript execution in the context of the victim's browser session. This is a classic CWE-79 (Improper Neutralization of Input During Web Page Generation) issue, where user input is not sanitized before being included in web page output. The affected product is identified by CPE cpe:2.3:a:open-webui:open-webui:*:*:*:*:*:*:*:*, though the vulnerable range is explicitly 0.6.31 through 0.11.3. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N) and the independent assessment's CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) both indicate network exploitable, low complexity, requiring authenticated privileges and passive user interaction, with low confidentiality and integrity impact but no availability impact.
Know when Open Webui gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Authenticated poster (PR:L) and victim must view content (UI:R); stored XSS executes script across the browser security boundary (S:C) with limited confidentiality/integrity impact and no availability loss.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
Open WebUI from 0.6.31 before 0.11.4 contains a stored cross-site scripting vulnerability in its Markdown renderer, which treats user-authored tool-call details blocks as tool output and mounts their embeds attribute in script-enabled iframes. Authenticated users can post crafted channel messages, chat messages, or citation content that runs JavaScript in viewers' browsers, enabling in-app phishing, or session hijacking where iframeSandboxAllowSameOrigin is enabled.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Open Webui
View allAn XSS vulnerability exists in open-webui/open-webui versions <= 0.3.8, specifically in the function that constructs the
A Stored Cross-Site Scripting (XSS) vulnerability exists in the chat file upload functionality of open-webui/open-webui
Attacker controlled files can be uploaded to arbitrary locations on the web server's filesystem by abusing a path traver
Stored cross-site scripting in Open WebUI's terminal port preview feature allows an authenticated attacker sharing a ter
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.6.37, a St
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.6.37, a Se
In version v0.3.10 of open-webui/open-webui, the `api/v1/utils/pdf` endpoint lacks authentication mechanisms, allowing u
OAuth and SCIM identity confusion in Open WebUI 0.6.41-0.10.x (SQLite-backed deployments only) allows unauthenticated re
DNS rebinding SSRF in Open WebUI versions 0.9.6 through 0.11.0 allows authenticated users who control authoritative DNS
Denial of service in Open WebUI versions 0.9.0-0.11.0 allows unauthenticated remote attackers to stall the application s
In version 0.3.8 of open-webui, an endpoint for converting markdown to HTML is exposed without authentication. Rated hig
Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. [CVSS 7.3 HIGH]
EUVD-2026-97602
GHSA-fc6p-2j86-rwxm
NVD
CVE.org
EPSS
Exploit-DB