CVE-2026-54682 is a stored Cross-Site Scripting (XSS) vulnerability in DiscordChatExporter prior to version 2.47.2. When HTML exports are generated with markdown formatting disabled, attacker-controlled content is passed through FormatMarkdownAsync and FormatEmbedMarkdownAsync without HTML entity encoding. Affected fields include message content, forwarded/referenced message content, embed titles, descriptions, and field names/values. A malicious Discord webhook or bot can inject script payloads into these fields. The payload executes when a victim exports the channel to HTML and opens the resulting file in a browser. This allows the attacker to read export contents or alter displayed content. The vulnerability is fixed in DiscordChatExporter version 2.47.2.