CVE-2026-65606: SiYuan before v3.7.2 Cross-Site Scripting to RCE
SiYuan before v3.7.2 contains a cross-site scripting vulnerability in the siyuan:// protocol handler. When a siyuan://plugins/<name> link references a name that is not an installed plugin, the application opens a custom tab and inserts the link's icon parameter into the tab header via innerHTML without escaping it (app/src/layout/Tab.ts), allowing injection of an <img onerror=...> element. Because the SiYuan Desktop renderer runs with nodeIntegration:true, the injected JavaScript can access Node's require and call require('child_process').execSync(...), escalating the cross-site scripting into arbitrary operating-system command execution.
Security readout for executives and security teams
Plain-English summary
A malicious SiYuan plugin link can compromise a user’s computer after interaction. In desktop releases before 3.7.2, attacker-controlled content may run operating-system commands with the user’s privileges, potentially exposing files, credentials, and business data or disrupting the device.
Executive priority
Treat this as an urgent desktop remediation. Identify affected installations immediately and upgrade them promptly, beginning with privileged users and sensitive-data environments. User interaction reduces opportunistic risk but does not materially lower the potential business impact of full command execution.
Technical view
The siyuan:// protocol handler places an untrusted icon parameter into a custom tab header using innerHTML when the named plugin is absent. This enables cross-site scripting. Because the desktop renderer has Node integration enabled, injected JavaScript can access Node capabilities, escalating the flaw to arbitrary operating-system command execution.
Likely exposure
Exposure is most likely where SiYuan Desktop versions earlier than 3.7.2 are installed and users can receive or open untrusted siyuan://plugins links. The supplied evidence does not establish exposure for version 3.7.2 or later, or for other SiYuan deployment forms.
Exploitation context
Exploitation requires user interaction with a crafted link but needs no authentication and has low stated complexity. Successful exploitation can affect confidentiality, integrity, and availability beyond the renderer. The supplied sources do not report active exploitation, and the CVE is not identified as being in KEV.
Researcher notes
The vulnerable path is specifically the missing-plugin custom-tab flow in app/src/layout/Tab.ts. Root causes are unescaped insertion into innerHTML and the renderer’s nodeIntegration:true configuration. The cited patch commit is the strongest supplied remediation evidence; no safe testing payload or verified detection signature is provided.
Mitigation direction
Upgrade SiYuan Desktop to version 3.7.2 or later.
Prioritize upgrades on systems handling sensitive notes, credentials, or business data.
Until upgraded, instruct users not to open untrusted siyuan:// links.
Check the vendor advisory for any additional supported mitigations or release guidance.
Validation and detection
Inventory SiYuan Desktop installations and record their exact versions.
Confirm every installation reports version 3.7.2 or later.
Verify the deployed build includes patch commit 41f2861c87575ff5ac4b50a0520b1a4fe55b4a70.
Review endpoint telemetry for suspicious processes launched by SiYuan, without reproducing the exploit.
Confirm controls prevent users from opening untrusted custom-protocol links while upgrades remain incomplete.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-79: User-session and phishing behavior lookup
Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
3Timeline events
1ADP providers
4Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: noTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.