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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-54681— DiscordChatExporter: HTML attribute injection via unescaped emoji name in HTML export

Quick assessment

Affected
Tyrrrz DiscordChatExporter
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
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之前版本存在跨站脚本漏洞,该漏洞源于VisitEmojiAsync方法将emoji.Name和emoji.Code插入HTML属性时未进行HTML实体编码,可能导致注入HTML属性并在用户打开导出文件时执行脚本。

CVSS 4.1 · Medium EPSS 0.16% · P6

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter

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-54681

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: HTML attribute injection via unescaped emoji name in HTML export
Source: CVE Program / CVE List V5
Vulnerability Description
DiscordChatExporter saves Discord chat logs to a file. Prior to 2.47.2, the VisitEmojiAsync method in DiscordChatExporter.Core/Exporting/HtmlMarkdownVisitor.cs interpolates emoji.Name into the alt attribute and emoji.Code into the title attribute without HTML entity encoding. This affects HTML exports regardless of the markdown setting. Discord's current custom emoji name validation normally excludes attribute-breaking characters, but tampered offline input, a relaxed upstream validation rule, or another future metadata source can inject an HTML attribute and execute script when a user opens the export. This issue is fixed in version 2.47.2.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:L/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之前版本存在跨站脚本漏洞,该漏洞源于VisitEmojiAsync方法将emoji.Name和emoji.Code插入HTML属性时未进行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-54681

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-54681

请登录查看更多情报信息。

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

Vendor Advisories for CVE-2026-54681 (1)

Vendor Pages for CVE-2026-54681 (1)

IV. Related Vulnerabilities