The Markdown renderer incorrectly processes user-authored tool-call details blocks as tool output, mounting the `embeds` attribute within script-enabled iframes. This allows authenticated users to inject JavaScript via crafted channel messages, chat messages, or citation content. When `iframeSandboxAllowSameOrigin` is enabled, this can lead to session hijacking or in-app phishing.