Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-54682— DiscordChatExporter: Stored XSS in HTML export when markdown formatting is disabled

Quick assessment

Affected
Tyrrrz DiscordChatExporter
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

DiscordChatExporter 可将 Discord 聊天日志导出为文件。在 2.47.2 版本之前,当禁用 Markdown 格式化时生成的 HTML 导出文件,会将攻击者可控制的内容通过 和 函数处理(相关代码位于 ),且未对这些内容进行 HTML 实体编码。受影响的字段包括: 、 、 、 、 、 以及 。攻击者可通过 Discord 的 Webhook 或机器人,在这些字段中存储恶意脚本载荷(payload)。当用户使用禁用 Markdown 格式化的选项导出频道,并打开生成的 HTML 文件时,该脚

CVSS 8.2 · High EPSS 0.14% · P3

Affected Version Matrix 1

VendorProduct Version RangeStatus
Tyrrrz DiscordChatExporter < 2.47.2 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-54682

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
DiscordChatExporter: Stored XSS in HTML export when markdown formatting is disabled
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Tyrrrz DiscordChatExporter < 2.47.2 -

II. Public POCs for CVE-2026-54682

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 11314 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-54682

登录查看更多情报信息。

Patches & Fixes for CVE-2026-54682 (2)

Vendor Advisories for CVE-2026-54682 (1)

Vendor Pages for CVE-2026-54682 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-54682

No comments yet


Leave a comment