CVE-2026-66395
CRITICAL
CVSS 9.4
siyuan
Verified Advisory
Reflected XSS to OS RCE in SiYuan desktop via siyuan:// deep link (CVE-2026-66395)
The SiYuan desktop app registers `siyuan://` as an OS-level protocol handler and reflects an attacker-controlled path segment from `siyuan://bazaar/plugins/<payload>/readme` URLs verbatim into a `showMessage` call that uses `insertAdjacentHTML` as its sink. Because every BrowserWindow is created with `nodeIntegration:true`, `contextIsolation:false`, `webSecurity:false`, and no Content Security Policy, injected HTML executes with `window.require("child_process")` and full OS access at the user's privilege level. An attacker who can induce a user to click a crafted deep link achieves arbitrary OS-level code execution without further authentication.
Affected versions:
- 3.7.1
We recommend updating to: v3.7.2.
CVSS 9.4 · our assessment: act_now
Reference: https://github.com/siyuan-note/siyuan/security/advisories/GHSA-6gx2-8gcr-x83f
Details: https://vuln.today/cve/CVE-2026-66395
Verified by vuln.today against published advisories.
Affected versions
- – 3.7.1
Fixed in: v3.7.2
More advisories for siyuan
- CVE-2026-73608 – Missing authorization in SiYuan getAttributeViewSearchTarget endpoint (CVE-2026-73608)
- CVE-2026-72804 – Missing publish-password check in SiYuan graph API endpoints (CVE-2026-72804)
- CVE-2026-72795 – Publish-access bypass in SiYuan embedded block endpoints (CVE-2026-72795)
- CVE-2026-72794 – Session cookie signing key disclosure in siyuan via getConf endpoint (CVE-2026-72794)
- CVE-2026-72798 – Information disclosure in SiYuan publish-mode attribute view filter (CVE-2026-72798)
- CVE-2026-72793 – Sensitive configuration disclosure in SiYuan via /api/system/getConf (CVE-2026-72793)
- CVE-2026-72789 – Authorization bypass in SiYuan encrypted notebook publish access gate (CVE-2026-72789)
- CVE-2026-68584 – Authentication bypass in SiYuan publish-mode password-protected documents (CVE-2026-68584)