PT-2026-35065 · Siyuan · Siyuan
CVE-2026-41421
·
Published
2026-04-24
·
Updated
2026-05-22
CVSS v3.1
8.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
SiYuan versions prior to 3.6.5
Description
SiYuan desktop renders notification messages as raw HTML within an Electron renderer. The API endpoint '/api/notification/pushMsg' accepts a user-controlled
msg value, which is forwarded through the backend broadcast layer and inserted into the DOM using the insertAdjacentHTML() function in message.ts. Because Electron windows are configured with nodeIntegration: true, contextIsolation: false, and webSecurity: false in main.js, JavaScript executed via this sink can access Node APIs, leading to desktop code execution.Recommendations
Update to version 3.6.5.
Exploit
Fix
RCE
XSS
OS Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Siyuan