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

Goal: 1000 CNY · Raised: 1359 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.

Oleksii Holub DiscordChatExporter是Oleksii Holub个人开发者的一款聊天记录导出工具。 Oleksii Holub DiscordChatExporter 2.47.2之前版本存在跨站脚本漏洞,该漏洞源于在禁用markdown格式时,HTML导出未对HTML实体进行编码,可能导致跨站脚本攻击,允许脚本读取导出内容或修改其显示内容。

CVSS 8.2 · High EPSS 0.20% · P9

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
Vulnerability Title
Oleksii Holub DiscordChatExporter 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Oleksii Holub DiscordChatExporter是Oleksii Holub个人开发者的一款聊天记录导出工具。 Oleksii Holub DiscordChatExporter 2.47.2之前版本存在跨站脚本漏洞,该漏洞源于在禁用markdown格式时,HTML导出未对HTML实体进行编码,可能导致跨站脚本攻击,允许脚本读取导出内容或修改其显示内容。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

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