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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-54067— SiYuan: Stored XSS to RCE via CSS-snippet <style> breakout in renderSnippet()

CVSS 9.9 · Critical EPSS 0.31% · P22
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-54067

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: Stored XSS to RCE via CSS-snippet <style> breakout in renderSnippet()
Source: NVD (National Vulnerability Database)
Vulnerability Description
SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, CSS snippet body containing </style> breaks out of its surrounding <style> tag when renderSnippet() interpolates it via insertAdjacentHTML. A payload like runs arbitrary JavaScript in the renderer. On Electron desktop builds the renderer runs with nodeIntegration:true, so require('child_process') is reachable from the injected handler and the XSS chains to host RCE. Snippets sync via the workspace repository, so an attacker with write access to any synced workspace plants the payload once and it fires on every device that pulls. The bug also bypasses the user's enabledCSS / enabledJS separation. A user who turned enabledJS off was making a deliberate call not to run untrusted JavaScript; the CSS path runs it anyway. This vulnerability is fixed in 3.7.0.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Source: NVD (National Vulnerability Database)
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: NVD (National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
siyuan-notesiyuan < 3.7.0 -

II. Public POCs for CVE-2026-54067

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-54067

登录查看更多情报信息。

Other References for CVE-2026-54067 (1)

Same Patch Batch · siyuan-note · 2026-06-24 · 9 CVEs total

CVE-2026-541589.9 CRITICALSiYuan: Stored XSS to RCE via attribute-view cell rendering in genAVValueHTML()
CVE-2026-505519.9 CRITICALSiYuan: Stored XSS to RCE via Unsanitized Attribute View Asset Cell Content
CVE-2026-555709.0 CRITICALSiYuan: Stored XSS results to Electron RCE in SiYuan marketplace via unescaped `data-obj`
CVE-2026-540667.5 HIGHSiYuan: Path Traversal via Double URL Encoding in /assets/*path (publish mode arbitrary fi
CVE-2026-540707.1 HIGHSiYuan: Stored XSS in Bazaar marketplace via package README event handlers
CVE-2026-540685.9 MEDIUMSiYuan: Unauthenticated SQLite Data Exfiltration via Template Injection in /api/icon/getDy
CVE-2026-54759SiYuan: Lute HTML sanitizer allows `<iframe>` tags in Bazaar package README, leading to ar
CVE-2026-54069SiYuan: Unauthenticated Admin API Access via Blanket chrome-extension:// Origin Allowlist

IV. Related Vulnerabilities

V. Comments for CVE-2026-54067

No comments yet


Leave a comment