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.
CVSS

No CVSS.

Configurations

No configuration.

History

15 May 2026, 15:16

Type Values Removed Values Added
References () https://github.com/siyuan-note/siyuan/security/advisories/GHSA-2h64-c999-c9r6 - () https://github.com/siyuan-note/siyuan/security/advisories/GHSA-2h64-c999-c9r6 -

14 May 2026, 19:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-14 19:16

Updated : 2026-05-15 15:16


NVD link : CVE-2026-44670

Mitre link : CVE-2026-44670

CVE.ORG link : CVE-2026-44670


JSON object : View

Products Affected

No product.

CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CWE-94

Improper Control of Generation of Code ('Code Injection')

CWE-1188

Insecure Default Initialization of Resource