Skip to main content
← All vulnerabilities
CVE-2026-33066GHSA-4663-4MPG-879VGO-2026-4743

SiYuan has Stored XSS to RCE via Unsanitized Bazaar README Rendering

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.6.1, 0.0.0-20260314111550-b382f50e1880
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • siyuan-note siyuan

    fixed in 3.6.1

  • github.com/siyuan-note/siyuan/kernelGo

    fixed in 0.0.0-20260314111550-b382f50e1880

References 2

GitHub · siyuan-note/siyuan