Direct naar de inhoud
⚡ Kritieke cyberalerts voor jouw sector & systemen — direct in je inbox. Aanmelden →
cybernieuws.nl Cybersecurity en informatiebeveiling nieuws alerts live · 8 min 124 bronnen 1 kritiek 3 vandaag
CVE's Videos Dagbriefing

← Terug naar CVE-database

CVE-2026-54681

MEDIUM · 4.1 CVSS Gepubliceerd: CWE-79

Beschrijving NL

DiscordChatExporter slaat Discord-chatlogboeken op in een bestand. Vóór 2.47.2 interpolateerde de methode VisitEmojiAsync in DiscordChatExporter.Core/Exporting/HtmlMarkdownVisitor.cs emoji.Name in het alt-attribuut en emoji.Code in het title-attribuut zonder HTML-entiteitscodering. Dit heeft invloed op HTML-exports, ongeacht de markdown-instelling. De huidige validatie van aangepaste emoji-namen van Discord sluit normaal gesproken tekens uit die attributen onderbreken, maar gemanipuleerde offline invoer, een soepelere validatieregel stroomopwaarts of een andere toekomstige metadatabron kan een HTML-attribuut injecteren en een script uitvoeren wanneer een gebruiker de export opent. Dit probleem is opgelost in versie 2.47.2.

Origineel (Engels) tonen

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.

References