# CVE-2026-65606: SiYuan XSS to RCE in siyuan:// protocol handler

Source: https://junglewise.ai/threats/cve-2026-65606-siyuan-xss-to-rce-in-siyuan-protocol-handler  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-23. Updated: 2026-07-23  
License: CC BY 4.0 with a link back

CVE-2026-65606 · Severity: critical · CVSS 9.6 · Published 2026-07-23

SiYuan, a personal knowledge management and note-taking application, is vulnerable to a critical security flaw in how it handles custom links. An attacker can craft a malicious link that, when clicked by a user, executes unauthorized commands on the user's computer. This could allow a remote attacker to steal sensitive data, install malware, or take full control of the affected system.

Technologies: [SiYuan](https://junglewise.ai/threats/technologies/siyuan). Vendors: [SiYuan](https://junglewise.ai/threats/vendors/siyuan).

## Quick answers

**Is CVE-2026-65606 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-65606 being exploited in the wild.

**How severe is CVE-2026-65606?** Critical severity, with a CVSS score of 9.6, published 23 July 2026.

**Which products and versions are affected?** SiYuan < 3.7.2.

**Is there a fix for CVE-2026-65606?** A patch was published on 2026-07-23: Fix confirmed in version 3.7.2 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-65606 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-65606?** Check whether you run SiYuan at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A cross-site scripting (XSS) vulnerability exists in the SiYuan Desktop application's handling of the 'siyuan://' protocol. When the application processes a 'siyuan://plugins/<name>' link where the plugin name does not exist, it opens a custom tab and inserts the 'icon' URL parameter directly into the tab header's innerHTML without proper escaping in 'app/src/layout/Tab.ts'. Because the Electron-based desktop renderer is configured with 'nodeIntegration: true', an attacker can use this XSS to access Node.js primitives. Specifically, an attacker can inject an 'img' tag with an 'onerror' attribute to call 'require(child_process).execSync()', leading to arbitrary command execution. The vulnerability is patched in version 3.7.2.

## Affected products

- siyuan-note SiYuan < 3.7.2

## Timeline

- 2026-07-10: advisory: GitHub Security Advisory GHSA-wp64-x7qh-h728 published
- 2026-07-23: disclosed: CVE-2026-65606 published to NVD
- 2026-07-23: patched: Fix confirmed in version 3.7.2

## References

- [https://github.com/siyuan-note/siyuan/commit/41f2861c87575ff5ac4b50a0520b1a4fe55b4a70](https://github.com/siyuan-note/siyuan/commit/41f2861c87575ff5ac4b50a0520b1a4fe55b4a70)
- [https://github.com/siyuan-note/siyuan/security/advisories/GHSA-wp64-x7qh-h728](https://github.com/siyuan-note/siyuan/security/advisories/GHSA-wp64-x7qh-h728)
- [https://www.vulncheck.com/advisories/siyuan-before-cross-site-scripting-to-rce](https://www.vulncheck.com/advisories/siyuan-before-cross-site-scripting-to-rce)

## Related threats

- [SiYuan path traversal in web fetch](https://junglewise.ai/threats/cve-2026-126776-siyuan-3-7-0-before-3-8-10-on-windows-contains-a-path-traversal)
- [SiYuan publish filter information disclosure in local storage](https://junglewise.ai/threats/go-2026-6836-siyuan-the-publish-filter-for-local-storage-returns-the-7f022e62)
- [SiYuan path traversal via GLOBALROOT alias bypass](https://junglewise.ai/threats/cve-2026-118680-siyuan-3-8-7-through-3-8-8-fails-to-normalize-windows-globalroot)
- [SiYuan SQL injection in history search](https://junglewise.ai/threats/cve-2026-116170-siyuan-before-v3-8-7-contains-an-sql-injection-vulnerability)
- [SiYuan cross-site scripting in /check-auth redirect](https://junglewise.ai/threats/cve-2026-116167-siyuan-from-2-9-0-before-3-8-7-contains-a-cross-site-scripting)
