Read the docs
TI-2026-39503 Aliases CVE-2026-54681

DiscordChatExporter: HTML attribute injection via unescaped emoji name in HTML export

Priority MEDIUM 52CWE-79Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Required
Attack complexity
High
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · 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, the VisitEmojiAsync method in DiscordChatExporter.Core/Exporting/HtmlMarkdownVisitor.cs interpolates emoji.Name into the alt attribute and emoji.Code into the title attribute without HTML entity encoding. This affects HTML exports regardless of the markdown setting. Discord's current custom emoji name validation normally excludes attribute-breaking characters, but tampered offline input, a relaxed upstream validation rule, or another future metadata source can inject an HTML attribute and execute script when a user opens the export. This issue is fixed in version 2.47.2.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00164 5th percentileScored 2026-11-07
Fix Fixed DiscordChatExporter (Tyrrrz): 2.47.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

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-54681

References

  • TI-2026-39504 DiscordChatExporter: Stored XSS in HTML export when markdown formatting is disabled CVSS 3.1HIGH 8.2

Sources

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