CVE-2026-44670

Critical

Description

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.

SeverityCritical
CVSS9.4
Exploit probability—
ProductGithub.com/siyuan-note/siyuan/kernel
PublishedMay 14, 2026
First seenMay 14, 2026

How to fix

Update
  • github.com/siyuan-note/siyuan/kernel0.0.0-20260512140701-d7b77d945e0d or later

Affected products

ProductAffected versionsFixed in
github.com/siyuan-note/siyuan/kernelGov < 0.0.0-20260512140701-d7b77d945e0d0.0.0-20260512140701-d7b77d945e0d

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-44670 · Github.com/siyuan-note/siyuan/kernel · Dark Radar