Skip to content
Threat Feed
high advisory updated

Remote Code Execution in SiYuan via Malicious Bookmark Labels

SiYuan versions prior to 3.8.4 contain a cross-site scripting vulnerability in bookmark label rendering that enables remote code execution due to insecure Electron configuration.

CVE search metadata

CVE search record: CVE-2026-92985. Severity: high. CVSS: 8.8. KEV: no. Product: SiYuan (< 3.8.4), SiYuan (< 3.8.3), SiYuan (<= 3.8.4). Brief: Remote Code Execution in SiYuan via Malicious Bookmark Labels. Brief link: https://feed.craftedsignal.io/briefs/2026-09-siyuan-xss-rce/

What's new

  • 1. added coverage for SiYuan (<= 3.8.4) Sep 19, 02:07 via nvd
  • 2. added detection rule: Detects CVE-2026-93591 Exploitation - SQL Injection via getGraph Sep 18, 16:07 via nvd
  • 3. added coverage for SiYuan (< 3.8.4) Sep 17, 16:01 via nvd

SiYuan versions prior to 3.8.4 contain a critical vulnerability that allows attackers to achieve remote code execution (RCE). The application fails to properly sanitize or escape bookmark labels when importing and rendering .sy notebook files within the dock tree. Because the underlying Electron framework is configured with nodeIntegration enabled, the rendering of malicious HTML payloads within these bookmark attributes allows for the execution of arbitrary JavaScript. This execution occurs within the context of the renderer process, granting the attacker access to Node.js primitives, including the child_process module, which can be leveraged to execute arbitrary system commands on the host machine. This affects all platforms where SiYuan is deployed, as it relies on the Electron-based architecture.

Impact

Successful exploitation allows an unauthenticated attacker to execute arbitrary commands with the privileges of the user running the SiYuan application. This can lead to full system compromise, data exfiltration, or the installation of persistent backdoors. The vulnerability is highly severe because it does not require complex infrastructure, only the victim's interaction with a malicious .sy file.

Recommendation

  • Upgrade all SiYuan installations to version 3.8.4 or later immediately.
  • Restrict the import of untrusted or externally sourced .sy notebook files until patches are applied.
  • Review endpoint telemetry for suspicious process execution patterns originating from the SiYuan process tree.

Immediate actions

Upgrade SiYuan to version 3.8.4 or later

IT Operations 24h

Mitigations

Upgrade to SiYuan 3.8.4

immediate IT Operations

CVE-2026-92985

Detection coverage 1

Detects CVE-2026-93591 Exploitation - SQL Injection via getGraph

high

Detects exploitation attempts against SiYuan by identifying SQL injection payloads (e.g., single quotes, union, select) within requests to the getGraph endpoint.

sigma tactics: initial_access techniques: T1190 sources: webserver

Detection queries are available on the platform. Get full rules →