Skip to main content
EPSS 0.2%top 91%

CVE-2026-54682: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Tyrrrz DiscordChatExporter

0
High
VulnerabilityCVE-2026-54682cvecve-2026-54682cwe-79
Published: 08/21/2026 (08/21/2026, 18:40:05 UTC)
Source: CVE Database V5
Vendor/Project: Tyrrrz
Product: 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

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

Affected software

Tyrrrz

DiscordChatExporter

Affected versions
<2.47.2
GitHub Actionsmore threats →ai
tyrrrz/DiscordChatExporter
pkg:github/tyrrrz/DiscordChatExporter
Affected versions
<2.47.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/10/2026, 17:35:55 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses