CVE-2026-54682: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Tyrrrz DiscordChatExporter
DiscordChatExporter versions prior to 2.47.2 contain a cross-site scripting (XSS) vulnerability due to improper neutralization of input in HTML exports when markdown formatting is disabled. Attacker-controlled content in various message and embed fields can execute scripts when the exported HTML file is opened. This vulnerability is fixed in version 2.47.2.
AI Analysis
Technical Summary
CVE-2026-54682 is a cross-site scripting vulnerability in Tyrrrz DiscordChatExporter prior to version 2.47.2. When markdown formatting is disabled during HTML export, attacker-controlled content in fields such as 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 when a user opens the exported HTML file, potentially reading or altering the export content. The issue is resolved in version 2.47.2.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary scripts in the context of the exported HTML file, potentially reading sensitive export data or modifying its displayed content. This impacts confidentiality and integrity of the exported chat logs. There is no indication of availability impact. The CVSS score is 8.2 (high severity) with vector AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N.
Mitigation Recommendations
Upgrade DiscordChatExporter to version 2.47.2 or later, where this vulnerability is fixed. No other mitigations are indicated. Patch status is not explicitly stated but the fix is confirmed in version 2.47.2.
CVE-2026-54682: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Tyrrrz DiscordChatExporter
Description
DiscordChatExporter versions prior to 2.47.2 contain a cross-site scripting (XSS) vulnerability due to improper neutralization of input in HTML exports when markdown formatting is disabled. Attacker-controlled content in various message and embed fields can execute scripts when the exported HTML file is opened. This vulnerability is fixed in version 2.47.2.
CVSS v3.1
Score 8.2high
Affected software
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
CVE-2026-54682 is a cross-site scripting vulnerability in Tyrrrz DiscordChatExporter prior to version 2.47.2. When markdown formatting is disabled during HTML export, attacker-controlled content in fields such as 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 when a user opens the exported HTML file, potentially reading or altering the export content. The issue is resolved in version 2.47.2.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary scripts in the context of the exported HTML file, potentially reading sensitive export data or modifying its displayed content. This impacts confidentiality and integrity of the exported chat logs. There is no indication of availability impact. The CVSS score is 8.2 (high severity) with vector AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N.
Mitigation Recommendations
Upgrade DiscordChatExporter to version 2.47.2 or later, where this vulnerability is fixed. No other mitigations are indicated. Patch status is not explicitly stated but the fix is confirmed in version 2.47.2.
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
- Remediation Level
- null
Threat ID: 6a889e77acd9273b498fc1fb
Added to database: 08/21/2026, 18:52:39 UTC
Last enriched: 08/21/2026, 19:07:10 UTC
Last updated: 08/21/2026, 19:29:34 UTC
Views: 5
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.