ADVISORIES

Vulnerability

CVE-2026-44670

SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, the kernel stores Attribute View (AV / database) names without any HTML escape, then a render template uses raw strings.ReplaceAll(tpl, "${avName}", nodeAvName) to embed the name in HTML before pushing to all clients via WebSocket. Three independent client paths (render.ts:120 → outerHTML, Title.ts:401 → innerHTML, transaction.ts:559 → innerHTML) consume the value without escaping. Because the main BrowserWindow runs nodeIntegration:true, contextIsolation:false, webSecurity:false (app/electron/main.js:407-411), HTML injection in the renderer becomes Node.js code execution. This vulnerability is fixed in 3.7.0.

3 advisories report this vulnerability, across 2 ecosystems.

Critical severity All Go 2openSUSE 1

Advisories in Go

  • GHSA-2h64-c999-c9r6

    SiYuan Affected by Stored XSS via Attribute View Name to Electron Renderer RCE

    Critical CVE-2026-44670 Go Updated 8 June 2026
  • GO-2026-4992

    SiYuan Affected by Stored XSS via Attribute View Name to Electron Renderer RCE in github.com/siyuan-note/siyuan/kernel

    CVE-2026-44670 Go Updated 20 May 2026

References