DiscordChatExporter saves Discord chat logs to a file. Prior to 2.47.2, HTML exports generated with markdown formatting…
Résumé
Faille signalée : XSS (CVE-2026-54682). Des informations confidentielles peuvent être exposées. Exploitable via MessageGroupTemplate.cshtml.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
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: NIST National Vulnerability Database NVD
Résumé IA
Rédigé par une IA externe ; il peut contenir des erreurs. Vérifiez la description d'origine et les références ci-dessous avant d'agir.
Une vulnérabilité référencée CVE-2026-54682 a été découverte dans CVE-2026-54682.
Des attaquants peuvent cibler un point d'entrée spécifique comme MessageGroupTemplate.cshtml à distance pour détourner le produit.
Des informations confidentielles peuvent être exposées. Score CVSS : 8.2/10.
Action : appliquez le correctif officiel de l'éditeur.
En cas de doute, contactez votre service informatique ou cherchez « CVE-2026-54682 CVE-2026-54682 » sur le site de l'éditeur.
CVE-2026-54682 (CVE-2026-54682) — CWE-79 / CVSS v3 8.2
Vecteur d'attaque : local / non authentifié
Surface d'attaque : MessageGroupTemplate.cshtml / ShouldFormatMarkdown / true / HtmlMarkdownVisitor
Versions affectées : <= 2.47.1
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.
DiscordChatExporterでエンコードされていないユーザー提供のコンテンツが実行される脆弱性。
DiscordChatExporterのバージョン2.47.2以前。
ユーザーがエクスポートされたHTMLファイルを開くときにスクリプトが実行され、情報漏洩や表示変更が発生する可能性があるため重大。
DiscordChatExporterをバージョン2.47.2にアップデートする。
情報なし
HTMLエクスポート時に表示異常や不正なスクリプトの挙動を確認する。