CVE-2026-54681

DiscordChatExporter: HTML attribute injection via unescaped emoji name in HTML export

MEDIUM
4.1
CVSS Score
Published: August 21, 2026 at 06:41 PM UTC
Updated: October 14, 2026 at 07:10 PM UTC
1 product affected across 1 vendorDiscordChatExporter

Using DiscordChatExporter by Tyrrrz?

Get instant alerts when new vulnerabilities affect DiscordChatExporter - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.1
Exploit prediction
EPSS 0.2%
SSVC
PoC

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 2.47.2
Affected range stops below 2.47.2, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

4.1MEDIUMGitHub_M
Attack Vector
LOCAL
Complexity
HIGH
Privileges
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusDEFERRED
CWE
CWE-79

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card