CVE-2026-40322 in SiYuan信息

摘要

由 VulDB • 2026-06-12

SiYuan 是一款开源的个人知识管理系统。在 3.6.3 及更低版本中,Mermaid 图表的渲染将 securityLevel 设置为“loose”,生成的 SVG 通过 innerHTML 注入到 DOM 中。这使得 Mermaid 代码块中包含的攻击者控制的 javascript: URL 能够保留在最终渲染的输出结果中。在使用 Electron 构建的桌面版应用中,窗口启用了 nodeIntegration 并禁用了 contextIsolation,当受害者打开包含恶意 Mermaid 块的笔记并点击渲染后的图表节点时,存储型 XSS(Stored XSS)将升级为任意代码执行。此问题已在版本 3.6.4 中修复。

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

来源

Interested in the pricing of exploits?

See the underground prices here!