Read the docs
TI-2026-39504 Aliases CVE-2026-54682

DiscordChatExporter: Stored XSS in HTML export when markdown formatting is disabled

Priority LOW 37CWE-79Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.

Summary

DiscordChatExporter saves Discord chat logs to a file. Prior to 2.47.2, HTML exports generated with markdown formatting disabled pass attacker-controlled content through FormatMarkdownAsync and FormatEmbedMarkdownAsync in DiscordChatExporter.Core/Exporting/MessageGroupTemplate.cshtml and render it without HTML entity encoding. The affected fields include message.Content, message.ForwardedMessage.Content, message.ReferencedMessage.Content, embed.Title, embed.Description, field.Name, and field.Value. A Discord webhook or bot can store a script payload in these fields, and the payload executes when a user exports the channel with markdown formatting disabled and opens the resulting HTML, allowing the script to read the export or alter its displayed content. This issue is fixed in version 2.47.2.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00197 9th percentileScored 2026-11-07
Fix Fixed DiscordChatExporter (Tyrrrz): 2.47.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
TyrrrzDiscordChatExporterbefore 2.47.22.47.2Patch availableCNA
  • DiscordChatExporter VendorTyrrrz Affected before 2.47.2 Fixed in 2.47.2 Patch available CNA

Remediation

  • Fix · CNA DiscordChatExporter (Tyrrrz) Fixed in 2.47.2

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-54682

References

  • TI-2026-39503 DiscordChatExporter: HTML attribute injection via unescaped emoji name in HTML export CVSS 3.1MEDIUM 4.1

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences