GHSA-vjm7-m4xh-7wrc: Open WebUI vulnerable to Stored XSS via iFrame embeds in response messages
Open WebUI versions prior to 0.6.44 are vulnerable to a stored cross-site scripting (XSS) issue via user-controlled iFrame embeds in response messages. The vulnerability arises because the application allows manual modification of chat history to set the embeds property, which is rendered inside an iFrames with a sandbox that improperly enables allow-scripts and allow-same-origin, effectively disabling sandbox protections. This flaw enables attackers to create weaponized chats that execute arbitrary JavaScript in the context of other users' sessions, potentially leading to session token theft and further exploitation. The vulnerability also affects shared chat links, allowing distribution of malicious payloads to other users. No official patch or fix is currently documented in the advisory.
AI Analysis
Technical Summary
The vulnerability in Open WebUI (CVE-2026-26193) is a stored XSS caused by improper sandboxing of iFrames used to render user-controlled embeds in chat response messages. The embeds property can be arbitrarily set by users by intercepting and modifying the chat history save request, injecting malicious content that executes JavaScript within the iFrame. The sandbox attribute on the iFrame includes allow-scripts and allow-same-origin, which negates the sandbox's security benefits, allowing script execution and access to the same origin context. This enables attackers to craft chats that execute malicious scripts in other users' browsers when viewing the chat or its shared link. The vulnerability affects Open WebUI versions before 0.6.44. There is no vendor advisory or patch link provided, so remediation status is unknown.
Potential Impact
Successful exploitation allows attackers to execute arbitrary JavaScript in the context of other users' browsers on the same Open WebUI instance. This can lead to theft of session tokens from local storage, enabling account takeover of low-privilege users. Additionally, administrators may be at risk of remote code execution (RCE) through a chained exploit as referenced in related advisories. The vulnerability enables creation and sharing of weaponized chats that propagate the attack to other users. There is no indication of active exploitation in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid manually modifying chat history or injecting embeds in response messages. Restrict user permissions to prevent unauthorized modification of chat data. Monitor for updates from the Open WebUI project regarding patches addressing this vulnerability.
GHSA-vjm7-m4xh-7wrc: Open WebUI vulnerable to Stored XSS via iFrame embeds in response messages
Description
Open WebUI versions prior to 0.6.44 are vulnerable to a stored cross-site scripting (XSS) issue via user-controlled iFrame embeds in response messages. The vulnerability arises because the application allows manual modification of chat history to set the embeds property, which is rendered inside an iFrames with a sandbox that improperly enables allow-scripts and allow-same-origin, effectively disabling sandbox protections. This flaw enables attackers to create weaponized chats that execute arbitrary JavaScript in the context of other users' sessions, potentially leading to session token theft and further exploitation. The vulnerability also affects shared chat links, allowing distribution of malicious payloads to other users. No official patch or fix is currently documented in the advisory.
CVSS v3.1
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Open WebUI (CVE-2026-26193) is a stored XSS caused by improper sandboxing of iFrames used to render user-controlled embeds in chat response messages. The embeds property can be arbitrarily set by users by intercepting and modifying the chat history save request, injecting malicious content that executes JavaScript within the iFrame. The sandbox attribute on the iFrame includes allow-scripts and allow-same-origin, which negates the sandbox's security benefits, allowing script execution and access to the same origin context. This enables attackers to craft chats that execute malicious scripts in other users' browsers when viewing the chat or its shared link. The vulnerability affects Open WebUI versions before 0.6.44. There is no vendor advisory or patch link provided, so remediation status is unknown.
Potential Impact
Successful exploitation allows attackers to execute arbitrary JavaScript in the context of other users' browsers on the same Open WebUI instance. This can lead to theft of session tokens from local storage, enabling account takeover of low-privilege users. Additionally, administrators may be at risk of remote code execution (RCE) through a chained exploit as referenced in related advisories. The vulnerability enables creation and sharing of weaponized chats that propagate the attack to other users. There is no indication of active exploitation in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid manually modifying chat history or injecting embeds in response messages. Restrict user permissions to prevent unauthorized modification of chat data. Monitor for updates from the Open WebUI project regarding patches addressing this vulnerability.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-vjm7-m4xh-7wrc
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-26193"]
- Ecosystems
- ["PyPI"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a4e4f07c9d9e3dbe328de31
Added to database: 07/08/2026, 13:22:15 UTC
Last enriched: 07/08/2026, 13:50:38 UTC
Last updated: 07/08/2026, 20:32:06 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.