Vulnerability Information
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: Stored XSS in HTML export when markdown formatting is disabled
Vulnerability Description
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.
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Vulnerability Title
Oleksii Holub DiscordChatExporter 跨站脚本漏洞
Vulnerability Description
Oleksii Holub DiscordChatExporter是Oleksii Holub个人开发者的一款聊天记录导出工具。 Oleksii Holub DiscordChatExporter 2.47.2之前版本存在跨站脚本漏洞,该漏洞源于在禁用markdown格式时,HTML导出未对HTML实体进行编码,可能导致跨站脚本攻击,允许脚本读取导出内容或修改其显示内容。
CVSS Information
N/A
Vulnerability Type
N/A