Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-66396— SiYuan before v3.7.2 Stored XSS to RCE via title-img IAL

Quick assessment

Affected
siyuan-note siyuan
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

思源笔记(SiYuan)在 v3.7.2 之前的版本中,在渲染画廊(Gallery)看板(Kanban)的封面图片时,未能正确转义“标题-图片”(title-img)个人属性列表的值,从而导致存储型跨站脚本(XSS)漏洞。该漏洞源于未经验证和转义的风格属性(style attribute)插值操作。拥有编辑器权限的攻击者可以注入 onload 事件处理器,当受害者打开受影响的文档时,这些恶意代码将在 Electron 的渲染进程中执行,并获得对 Node.js 环境的完全访问权限。

CVSS 8.4 · High EPSS 0.54% · P43

Affected Version Matrix 2

VendorProduct Version RangeStatus
siyuan-note siyuan < 3.7.2 affected
3.7.2 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-66396

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

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
SiYuan before v3.7.2 Stored XSS to RCE via title-img IAL
Source: CVE Program / CVE List V5
Vulnerability Description
SiYuan before v3.7.2 fails to escape the title-img Individual Attribute List value when rendering Gallery and Kanban cover images, allowing stored cross-site scripting via unescaped style attribute interpolation. Attackers with editor permissions can inject onload handlers that execute arbitrary code in the Electron renderer with full Node.js access when victims open affected documents.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
siyuan-note siyuan 0 ~ 3.7.2 -

II. Public POCs for CVE-2026-66396

# POC Description Source Link Shenlong Link
AI-Generated POC Verified env Premium
Reproduced successfully in a real sandbox · Below is the actual recording of building the environment and exploiting the vulnerability.
Reproduction recording is a Pro+ exclusive
Watch the full sandbox build + live exploit recording for this CVE. Limited-time ¥499/mo.
Upgrade to Pro+
claude_code · 9543 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-66396

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-66396 (2)

Same Patch Batch · siyuan-note · 2026-07-27 · 3 CVEs total

CVE-2026-66395 9.6 CRITICAL SiYuan Desktop before v3.7.2 Reflected XSS to RCE via siyuan Protocol
CVE-2026-66394 8.7 HIGH SiYuan before v3.7.3 Stored and Reflected XSS via SVG Sanitizer Bypass

IV. Related Vulnerabilities

V. Comments for CVE-2026-66396

No comments yet


Leave a comment