Skip to content
HighVulnerability

GHSA-vjm7-m4xh-7wrc: Open WebUI vulnerable to Stored XSS via iFrame embeds in response messages

Published
Record updated
View JSON
Affected
  • open-webui <= 0.6.43
Fixed in
0.6.44

Summary

Open WebUI's ResponseMessage.svelte builds iFrames for message `embeds` with `allow-scripts` and `allow-same-origin` hardcoded to true, so the sandbox ignores the "iframe Sandbox Allow Same Origin" setting. A user who manually edits chat history to set `embeds` on a response message gets stored XSS in that chat, and the payload also fires when the chat is shared with other users on the instance. Low-privilege users risk session takeover through their local-storage token, and admins risk RCE via the chain described in GHSA-w7xj-8fx7-wfch.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.