CVE-2026-44670CWE-1188CWE-79CWE-94

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

Critical · published May 14, 2026

CVSS v4.0
9.4
EPSS
1%
Percentile
45.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
9.4 · CRITICAL
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
EPSS
0.00551 · 45.3th percentile
Weaknesses
CWE-1188 · Initialization of a Resource with an Insecure Default; CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'); CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2026-05-14T18:25Z
EPSS history
Timeline
  • 14 MAY 18:25Z
    SiYuan: Stored XSS via Attribute View name to Electron renderer RCE in SiYuan
    cvelistv5