{"id":"CVE-2026-44670","published":"2026-05-14T18:25:50Z","modified":"2026-05-15T14:40:39Z","title":"SiYuan: Stored XSS via Attribute View name to Electron renderer RCE in SiYuan","vendor":"siyuan-note","product":"siyuan","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.4,"severity":"CRITICAL","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00509,"percentile":0.44355,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-1188","name":"Initialization of a Resource with an Insecure Default"}],"references":[{"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-2h64-c999-c9r6","tags":["x_refsource_CONFIRM"]}],"priority":{"score":15.5,"factors":[{"name":"EPSS percentile","points":8.87},{"name":"CVSS severity","points":6.58}]},"vendorSlug":"siyuan-note","affectedVersions":[{"vendor":"siyuan-note","product":"siyuan","versions":["< 3.7.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-05-15T14:40:01.643323Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/siyuan-note/siyuan/kernel","vulnerableRanges":["<0.0.0-20260512140701-d7b77d945e0d"],"patched":["0.0.0-20260512140701-d7b77d945e0d"],"from":["GHSA-2h64-c999-c9r6","GO-2026-4992"],"provenance":"source"}],"summary":{"text":"SiYuan, an open-source personal knowledge management system, fails to HTML-escape Attribute View (database) names before embedding them in rendered HTML sent to all clients, creating a stored cross-site scripting flaw in the desktop client's renderer. An attacker who can set an Attribute View name and get a victim to view it (requiring user interaction) can inject HTML that runs as Node.js code, because the Electron main window is configured with node integration enabled, context isolation disabled, and web security disabled.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:26:15Z"},"euvd":{"id":"EUVD-2026-30358","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-siyuan-note-siyuan-cve-2026-44670","children":[{"from":"CVE-2026-44670","to":"CVE-2026-130681","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"SiYuan before 3.8.10 contains a stored cross-site scripting vulnerability, an incomplete fix for CVE-2026-44670, because renderAVAttribute() inserts an Attribute View name unescaped into the database row attribute panel header.","from":"CVE.org","in":"CVE-2026-130681"}]}]}}