A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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 products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /Tyrrrz/DiscordChatExporter/commit/f4d1e630f7f27120c3be4320…
- github.com /Tyrrrz/DiscordChatExporter/pull/1544
- github.com /Tyrrrz/DiscordChatExporter/releases/tag/2.47.2
- github.com /Tyrrrz/DiscordChatExporter/security/advisories/GHSA-r7qm-w…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning