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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-65605— SiYuan before v3.7.2 Stored XSS to RCE via Attribute View

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是SiYuan团队的一款文档管理与企业应用软件。 siyuan-note siyuan 3.7.2之前版本存在跨站脚本漏洞,该漏洞源于Attribute View(数据库)单元格渲染中的模板列值通过text/template以HTML形式呈现且未自动转义,EscapeHTML仅在HasUnclosedHtmlTag返回true时应用,由于平衡自闭合标签(如<img>)被该检查跳过,导致特制有效载荷被存储未转义并通过innerHTML插入页面,查看数据库时执行,且由于桌面渲染器启用了nodeIn

CVSS 9.6 · Critical EPSS 0.79% · P55

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-65605

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 Attribute View
Source: CVE Program / CVE List V5
Vulnerability Description
SiYuan before v3.7.2 contains a stored cross-site scripting vulnerability in Attribute View (database) cell rendering. A Template column value is rendered as HTML via text/template without auto-escaping, and EscapeHTML is only applied when HasUnclosedHtmlTag returns true; because balanced self-closing tags such as <img> are skipped by that check, a payload like <img src=x onerror=...> is stored unescaped and later inserted into the page via innerHTML, executing when the database is viewed. Because the desktop renderer runs with nodeIntegration enabled, the injected script can reach require and escalate to arbitrary command execution.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/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
Vulnerability Title
siyuan-note siyuan 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
SiYuan是SiYuan团队的一款文档管理与企业应用软件。 siyuan-note siyuan 3.7.2之前版本存在跨站脚本漏洞,该漏洞源于Attribute View(数据库)单元格渲染中的模板列值通过text/template以HTML形式呈现且未自动转义,EscapeHTML仅在HasUnclosedHtmlTag返回true时应用,由于平衡自闭合标签(如<img>)被该检查跳过,导致特制有效载荷被存储未转义并通过innerHTML插入页面,查看数据库时执行,且由于桌面渲染器启用了nodeIn
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

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

II. Public POCs for CVE-2026-65605

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 6403 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-65605

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

Vendor Advisories for CVE-2026-65605 (2)

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

CVE-2026-65606 9.6 CRITICAL SiYuan before v3.7.2 Cross-Site Scripting to RCE
CVE-2026-65607 6.5 MEDIUM SiYuan before v3.7.2 Path Traversal via /export/temp/

IV. Related Vulnerabilities

V. Comments for CVE-2026-65605

No comments yet


Leave a comment