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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-33066— SiYuan has Stored XSS to RCE via Unsanitized Bazaar README Rendering

Quick assessment

Affected
siyuan-note siyuan
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
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 3.6.0及之前版本存在跨站脚本漏洞,该漏洞源于renderREADME函数未对Markdown中的HTML进行清理,可能导致跨站脚本攻击和远程代码执行。

AI Predicted 9.8 Difficulty: Easy EPSS 0.68% · P51
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-33066

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 has Stored XSS to RCE via Unsanitized Bazaar README Rendering
Source: CVE Program / CVE List V5
Vulnerability Description
SiYuan is a personal knowledge management system. In versions 3.6.0 and below, the backend renderREADME function uses lute.New() without calling SetSanitize(true), allowing raw HTML embedded in Markdown to pass through unmodified. The frontend then assigns the rendered HTML to innerHTML without any additional sanitization. A malicious package author can embed arbitrary JavaScript in their README that executes when a user clicks to view the package details. Because SiYuan's Electron configuration enables nodeIntegration: true with contextIsolation: false, this XSS escalates directly to full Remote Code Execution. The issue was patched in version 3.6.1.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
SiYuan 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
SiYuan是SiYuan开源的一个隐私至上的个人知识管理系统。 SiYuan 3.6.0及之前版本存在跨站脚本漏洞,该漏洞源于renderREADME函数未对Markdown中的HTML进行清理,可能导致跨站脚本攻击和远程代码执行。
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 < 3.6.1 -

II. Public POCs for CVE-2026-33066

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-33066

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

Patches & Fixes for CVE-2026-33066 (1)

Vendor Advisories for CVE-2026-33066 (1)

Same Patch Batch · siyuan-note · 2026-03-20 · 8 CVEs total

CVE-2026-32938 9.9 CRITICAL SiYuan has an Arbitrary File Read in its Desktop Publish Service
CVE-2026-32767 9.8 CRITICAL SiYuan: Authorization Bypass Allows Arbitrary SQL Execution via Search API
CVE-2026-32940 9.3 CRITICAL SiYuan has a SanitizeSVG bypass via data:text/xml in getDynamicIcon (incomplete fix for CV
CVE-2026-33203 7.5 HIGH SiYuan has an Unauthenticated WebSocket DoS via Auth Keepalive Bypass
CVE-2026-33476 7.5 HIGH SiYuan has an Unauthenticated Arbitrary File Read via Path Traversal
CVE-2026-33194 6.8 MEDIUM SiYuan has an Incomplete Fix for IsSensitivePath Denylist Allows File Read from /opt, /usr
CVE-2026-33067 SiYuan has Stored XSS to RCE via Unsanitized Bazaar Package Metadata

IV. Related Vulnerabilities

V. Comments for CVE-2026-33066

No comments yet


Leave a comment