CVE-2026-66395: SiYuan Desktop before v3.7.2 Reflected XSS to RCE via siyuan Protocol
SiYuan desktop before v3.7.2 contains a reflected cross-site scripting vulnerability in the bazaar plugin readme handler that allows attackers to execute arbitrary code by crafting a malicious siyuan:// deep link. Attackers can inject HTML payloads via the plugin name parameter that execute with full Node.js access through insertAdjacentHTML rendering in an insecurely configured Electron renderer.
Security readout for executives and security teams
Plain-English summary
A malicious link can turn a content-display flaw in vulnerable SiYuan desktop versions into full code execution. The attacker needs a user to open the crafted SiYuan link, but requires no account or prior access. Successful exploitation could expose notes and credentials, alter data, or disrupt the affected computer.
Executive priority
Remediate urgently because exploitation could give an external attacker code execution on a user endpoint after one link-opening action. Prioritize rapid inventory and upgrade of vulnerable desktops. There is no supplied evidence of active exploitation, but the potential business impact and low attack complexity justify critical priority.
Technical view
SiYuan Desktop before 3.7.2 passes a plugin-name parameter into insertAdjacentHTML in the bazaar plugin readme handler. A crafted siyuan:// deep link can inject active HTML into an insecure Electron renderer. Because that renderer has full Node.js access, reflected XSS crosses into arbitrary code execution with high confidentiality, integrity, and availability impact.
Likely exposure
Exposure is limited to SiYuan Desktop versions earlier than 3.7.2, particularly where users may open untrusted siyuan:// links. The supplied evidence does not establish that version 3.7.2 or later is affected, nor does it establish exposure for other SiYuan deployment types.
Exploitation context
The CVSS 9.6 assessment describes a network-reachable, low-complexity attack requiring no privileges but requiring user interaction. The supplied record is not marked as CISA KEV, and no cited evidence confirms active exploitation. Treat malicious deep links delivered through email, messaging, or websites as the primary risk context.
Researcher notes
The security boundary failure is more serious than ordinary reflected XSS: attacker-controlled HTML reaches an Electron renderer with Node.js capabilities. The scope-changing CVSS vector is consistent with renderer injection affecting the host system. Validate version and exposure without executing malicious links. The sources supplied do not establish exploit prevalence or observed campaigns.
Mitigation direction
Upgrade SiYuan Desktop to version 3.7.2 or later.
Consult the vendor advisory for current remediation guidance and release details.
Until upgraded, instruct users not to open untrusted siyuan:// links.
Prioritize endpoints handling sensitive notes, credentials, or business information.
Validation and detection
Inventory installed SiYuan Desktop versions and identify releases earlier than 3.7.2.
Confirm upgraded endpoints report version 3.7.2 or later.
Review endpoint telemetry for suspicious SiYuan child processes or unexpected code execution.
Check messaging, browser, and email telemetry for suspicious siyuan:// link activity.
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
3Source 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.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-79 · source CWE mapping
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.