Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft notebook or rename doc with HTML title payload
-
DeliveryVictim imports/opens shared notebook
-
ExploitBacklink dock renders title unescaped
-
ExecutionScript runs in Electron renderer
-
ImpactInvoke child_process for command execution
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires the victim to render an attacker-controlled document title in the backlink dock tree of the SiYuan desktop (Electron) app running a version before 3.8.4. The malicious title is planted either via the rename API or by delivering a crafted/shared notebook that the victim opens (UI:A). Command execution depends on the renderer having Node integration exposing child_process - the default Electron desktop build. Limiting factors: user interaction is mandatory (the victim must view the backlink dock or import the poisoned notebook), and the rename-API path presupposes the attacker can reach that API on the target instance; there is no fully passive, zero-interaction remote trigger. |
| Impact | This is a genuinely high-priority issue, not an inflated CVSS. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H) reflects a stored XSS in SiYuan's backlink dock tree that escalates to full command execution because the injected script runs in an Electron renderer with access to Node's child_process - effectively XSS-to-RCE on the victim's host. The signals are consistent: low attack complexity, no privileges required, but user interaction (UI:A) is needed since a victim must view the backlink dock or open a crafted notebook. Exploitation status: no public exploit identified at time of analysis - VulnCheck/GHSA advisory and a vendor patch exist, and the patch ships a regression test demonstrating the injection payload ( |
| Exploit ScenarioDerived | An attacker crafts a SiYuan notebook (or uses the rename API) containing a document whose title embeds an HTML/JS payload such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 17, 2026
Cross-site scripting in the SiYuan desktop note-taking app before 3.8.4 allows an attacker who can dictate a document title - either by calling the rename API or by delivering a crafted notebook the victim opens - to inject markup that is rendered as HTML in the backlink dock tree and executed inside the Electron renderer. Because the default desktop build exposes Node's child_process to the renderer, successful script execution escalates from XSS to arbitrary command execution on the victim's machine; the CVSS 4.0 vector rates this 8.6 (PR:N, UI:A), and the independent assessment concurs that this is a genuinely high-priority issue rather than an inflated score. Exploitation still depends on user interaction (the victim must view the poisoned title in the backlink dock or import the malicious notebook), no public exploit code was identified at time of analysis, and there is no KEV confirmation of active exploitation; a vendor patch is available in 3.8.4.
RemediationAI
Upgrade to SiYuan 3.8.4 or later; the vendor-released patch is commit 6f093ebe50afc503e2a8b056164293054f8509e7, which escapes document names by default in the backlink dock tree and only renders raw HTML when a producer explicitly sets nameIsHTML. Consult the GitHub Security Advisory GHSA-c5h9-g2c6-fxjw and the VulnCheck advisory for the vendor's guidance, and verify the installed build exposes the nameIsHTML field in its API type definitions as confirmation the fix is present. If immediate upgrading is not possible, compensating controls are: restrict network reachability of the SiYuan kernel API so unauthenticated remote callers cannot invoke the rename endpoint (bind it to localhost or place it behind an authenticating proxy - this has the side effect of blocking legitimate remote/mobile clients), and treat inbound shared notebooks as untrusted by opening them only in a sandboxed or disposable profile rather than importing them into the working workspace. Reducing the Electron renderer's privileges - enabling contextIsolation and disabling Node integration with child_process - removes the command-execution escalation even though the XSS itself would remain, at the cost of breaking internal features that depend on direct Node access. Because user interaction is mandatory (UI:A) and no public exploit code was identified at time of analysis, closing the window in which users view attacker-controlled titles in the backlink dock is the highest-value near-term action.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
SiYuan is a local-first knowledge management application built as a Go kernel that serves a TypeScript/Electron frontend, which means much of the UI is constructed by string concatenation and assigned to innerHTML rather than through a framework that auto-escapes. The vulnerable sink is in app/src/util/Tree.ts (line 134 at v3.8.3), where createTopLevelItem builds a list-item template and interpolates item.name directly into a <span class="b3-list-item__text ariaLabel"> element. That name value originates from the kernel's search-path contracts (kernel/api/contract_search_block.go builds SearchPath/SearchBlock results via searchPathContracts), so any document title that reaches the backlink dock tree is treated as trusted markup. The root-cause class is CWE-79 (Improper Neutralization of Input During Web Page Generation / cross-site scripting): no output encoding is applied to a value that is attacker-controllable through the document rename API or through the contents of a shared notebook. The upstream fix commit 6f093ebe50afc503e2a8b056164293054f8509e7 adds an optional nameIsHTML flag to the BacklinkPath/SearchPath API types and IBlockTree, and changes the template to ${item.nameIsHTML ? item.name : escapeHtml(item.name)}, so producer-flagged HTML (for example outline entries with styled spans) is preserved while raw names are escaped; the accompanying Tree.test.ts asserts that an <img src=x onerror=...> title no longer reaches innerHTML and that intentional HTML still passes through. The impact is amplified by the desktop architecture: the Electron renderer retains access to Node's child_process in the default build, converting a DOM-level script injection into host command execution.
Know when Siyuan gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Stored XSS whose script escapes the renderer sandbox to child_process (S:C, C/I/A:H); UI:R because a victim must view the title or import the notebook, and PR:N via the crafted-notebook path.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
SiYuan before 3.8.4 renders document titles as HTML in the backlink dock tree without escaping markup characters. Attackers can set malicious titles through the rename API or crafted notebooks to execute scripts in the Electron renderer with access to child_process for command execution.
Technical POC Analysis
CWE-79 (Improper Neutralization of Input During Web Page Generation).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
SiYuan, a desktop note-taking application used by employees, contains a high-severity vulnerability (CVE-2026-92986) that allows an attacker to execute arbitrary commands on a victim's machine when they view a maliciously crafted document title or open a crafted notebook. This puts endpoint integrity at risk, potentially leading to data theft, ransomware, or lateral movement within the organization. Leadership should prioritize patching to version 3.8.4 to mitigate this risk.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
SQL injection in SiYuan's fullTextSearchAssetContent endpoint lets unauthenticated attackers and holders of publish Role
Stored cross-site scripting in SiYuan personal knowledge management before 3.7.0 lets an attacker with write access to a
SQL injection in SiYuan personal knowledge management (versions <= v3.7.2) lets attackers pass arbitrary SQL statements
Stored cross-site scripting in SiYuan's attribute-view (database) cell renderer, affecting all versions prior to 3.7.0,
SQL injection in SiYuan personal knowledge-management software (all versions before v3.7.3) lets attackers inject arbitr
A SQL injection vulnerability was discovered in Siyuan 3.1.11 in /getHistoryItems. Rated critical severity (CVSS 9.8), t
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the ids array parameter in /batchGetBlockAttrs. R
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the id parameter at /getAssetContent. Rated criti
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the notebook parameter in /searchHistory. Rated c
SiYuan personal knowledge management system prior to 3.5.4 has a stored XSS vulnerability (CVSS 9.6) that allows code ex
Remote code execution in SiYuan note-taking application (before v3.6.1) allows any malicious Bazaar marketplace package
Origin-validation bypass in SiYuan Note (open-source personal knowledge management) before 3.7.0 lets any installed Chro
EUVD-2026-81623
GHSA-hqj9-5q65-f4g9
NVD
CVE.org
EPSS
Exploit-DB