CVE-2026-44670

CRITICAL

SiYuan: Stored XSS via Attribute View name to Electron renderer RCE in SiYuan

Title source: cna
STIX 2.1

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.

References (1)

Core 1
Core References

Scores

CVSS v4 9.4
EPSS 0.0051
EPSS Percentile 39.1%
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact total

Details

CWE
CWE-1188 CWE-79 CWE-94
Status published
Products (2)
siyuan-note/siyuan 0 - 0.0.0-20260512140701-d7b77d945e0dGo
siyuan-note/siyuan < 3.7.0
Published May 14, 2026
Tracked Since May 15, 2026