{"id":"CVE-2026-41421","published":"2026-04-24T18:53:49Z","modified":"2026-04-25T01:49:47Z","title":"SiYuan Desktop Notification XSS Leads to Electron RCE","vendor":"siyuan-note","product":"siyuan","tier":"tail","description":{"text":"SiYuan is an open-source personal knowledge management system. Prior to 3.6.5, SiYuan desktop renders notification messages as raw HTML inside an Electron renderer. The notification route POST /api/notification/pushMsg accepts a user-controlled msg value, forwards it through the backend broadcast layer, and the frontend inserts it into the DOM with insertAdjacentHTML(...) at message.ts. On desktop builds, this is not limited to ordinary XSS. Electron windows are created with nodeIntegration: true, contextIsolation: false, and webSecurity: false at main.js. As a result, JavaScript executed from the notification sink can directly access Node APIs and escalate to desktop code execution. This vulnerability is fixed in 3.6.5.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00139,"percentile":0.0327,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-grjj-6f6g-cq8q","tags":["x_refsource_CONFIRM"]}],"priority":{"score":6.8,"factors":[{"name":"EPSS percentile","points":0.65},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"siyuan-note","affectedVersions":[{"vendor":"siyuan-note","product":"siyuan","versions":["< 3.6.5"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-04-25T01:49:08.106327Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-25614","exploited":false,"provenance":"source"}}