CVE-2026-54682: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Tyrrrz DiscordChatExporter
Description
CVE-2026-54682 is a high-severity cross-site scripting (XSS) vulnerability in Tyrrrz DiscordChatExporter versions prior to 2.47.2. The vulnerability arises when HTML exports are generated with markdown formatting disabled, allowing attacker-controlled content in various message and embed fields to be rendered without proper HTML entity encoding. This can lead to script execution when a user opens the exported HTML file, potentially exposing or altering the exported chat content. The issue is fixed in version 2.47.2.
CVSS v3.1
Score 8.2high
Affected software
Tyrrrz
DiscordChatExporter
pkg:github/tyrrrz/DiscordChatExporterRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
DiscordChatExporter versions before 2.47.2 improperly neutralize input during web page generation when markdown formatting is disabled. Specifically, attacker-controlled content in message.Content, message.ForwardedMessage.Content, message.ReferencedMessage.Content, embed.Title, embed.Description, field.Name, and field.Value is passed through FormatMarkdownAsync and FormatEmbedMarkdownAsync without HTML entity encoding. This allows a Discord webhook or bot to inject script payloads that execute upon opening the exported HTML file, enabling reading or modification of the export. The vulnerability is addressed in version 2.47.2.
Potential Impact
An attacker controlling a Discord webhook or bot can inject malicious scripts into exported chat logs. When a user exports a channel with markdown formatting disabled and opens the resulting HTML file, the script executes, potentially allowing the attacker to read the exported data or alter its displayed content. This compromises confidentiality and integrity of the exported chat logs. The vulnerability does not affect availability.
Mitigation Recommendations
Upgrade DiscordChatExporter to version 2.47.2 or later, where this vulnerability is fixed. Users should avoid using versions prior to 2.47.2 for exporting Discord chat logs with markdown formatting disabled. No other mitigations are specified or required.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-15T22:53:58.561Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a889e77acd9273b498fc1fb
Added to database: 08/21/2026, 18:52:39 UTC
Last enriched: 09/10/2026, 17:35:55 UTC
Last updated: 10/05/2026, 18:48:20 UTC
Views: 64
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.