Skip to main content

SiYuan CVE-2026-92986

| EUVDEUVD-2026-81623 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-09-17 VulnCheck GHSA-hqj9-5q65-f4g9
8.6
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft notebook or rename doc with HTML title payload
  2. Delivery
    Victim imports/opens shared notebook
  3. Exploit
    Backlink dock renders title unescaped
  4. Execution
    Script runs in Electron renderer
  5. Impact
    Invoke 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 (<img src=x onerror=...>), but this is defensive proof-of-fix, not a weaponized POC, and there is no CISA KEV listing. No EPSS score is provided, so widespread automated exploitation cannot be quantified. The main factor tempering raw severity is the UI:A requirement and SiYuan's largely single-user, personal-knowledge-tool deployment model, which limits mass exploitation but does not reduce impact for a targeted victim who imports a malicious shared notebook.

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 <img src=x onerror=...>. When the victim opens the notebook and the title is rendered unescaped in the backlink dock tree, the script executes in the Electron renderer and reaches child_process to run arbitrary OS commands. No public exploit is identified, but the vendor's own patch includes a regression test proving the injection vector.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

SiYuan 0 <3.8.4

Affected Packages

euvd siyuan fix: 3.8.4

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

Vendor (VulnCheck) PRIMARY 8.6 HIGH
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
vuln.today AI 9.6 CRITICAL

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 65% exploitable
Prevalence
Low
niche open-source personal knowledge / note-taking app, minimal enterprise footprint
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

43
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +43
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in Siyuan

View all
CVE-2026-69083 CRITICAL POC
9.9 Aug 03

SQL injection in SiYuan's fullTextSearchAssetContent endpoint lets unauthenticated attackers and holders of publish Role

CVE-2026-54067 CRITICAL POC
9.9 Jun 24

Stored cross-site scripting in SiYuan personal knowledge management before 3.7.0 lets an attacker with write access to a

CVE-2026-69084 CRITICAL POC
9.9 Aug 03

SQL injection in SiYuan personal knowledge management (versions <= v3.7.2) lets attackers pass arbitrary SQL statements

CVE-2026-54158 CRITICAL POC
9.9 Jun 24

Stored cross-site scripting in SiYuan's attribute-view (database) cell renderer, affecting all versions prior to 3.7.0,

CVE-2026-69085 CRITICAL POC
9.9 Aug 03

SQL injection in SiYuan personal knowledge-management software (all versions before v3.7.3) lets attackers inject arbitr

CVE-2024-53507 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability was discovered in Siyuan 3.1.11 in /getHistoryItems. Rated critical severity (CVSS 9.8), t

CVE-2024-53506 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the ids array parameter in /batchGetBlockAttrs. R

CVE-2024-53505 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the id parameter at /getAssetContent. Rated criti

CVE-2024-53504 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the notebook parameter in /searchHistory. Rated c

CVE-2026-23852 CRITICAL POC
9.6 Jan 19

SiYuan personal knowledge management system prior to 3.5.4 has a stored XSS vulnerability (CVSS 9.6) that allows code ex

CVE-2026-56397 CRITICAL POC
9.4 Jun 21

Remote code execution in SiYuan note-taking application (before v3.6.1) allows any malicious Bazaar marketplace package

CVE-2026-54069 CRITICAL POC
9.2 Jun 24

Origin-validation bypass in SiYuan Note (open-source personal knowledge management) before 3.7.0 lets any installed Chro

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy