External risk intelligence

SiYuan Stored XSS via Unescaped Checkbox Names Allows Command Execution

CVE advisorySeverity: CRITICAL (CVSS 9.4)

CVE-2026-130680

The vulnerability affects a local Electron desktop client application. Exploitation requires a user to manually open a maliciously crafted document within the local application, which is not a network-exposed service or public-facing web endpoint.

Cross-site Scripting

Halo Surface Signal: 1 out of 5 — much less likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

This advisory addresses a critical vulnerability in SiYuan, a note-taking application, that could allow attackers to execute commands on a user's operating system by tricking them into opening a specially crafted document. The issue stems from how the application handles certain data, potentially enabling unauthorized actions if exploited.

  • Stored script injection in note-taking software.
  • Affects users opening malicious shared documents.
  • Confirm relevance and exposure within your organization.

Attack Path

How an attacker could exploit the issue

An attacker can inject HTML into SiYuan by tricking a user into opening a specially crafted document. This malicious document leverages unescaped checkbox column names within Gallery and Kanban AttributeView renderers to execute arbitrary commands on the user's system if the Electron desktop client has nodeIntegration enabled.

  • Requires user to open a crafted document.
  • Vulnerable if `nodeIntegration` is enabled.
  • Enables execution of commands on the system.

Live Threat

Current exploitation, exposure, and threat context

When supported by the advisory, attackers could inject HTML via unescaped checkbox column names, potentially leading to arbitrary command execution when a crafted document is shared and opened in a specific client configuration.

  • System commands could be executed.
  • Shared documents could trigger execution.
  • Compromise of the host operating system.

Operational Fix

Recommended remediation, mitigation, and detection steps

This vulnerability in SiYuan's desktop client requires an attacker to trick a user into opening a crafted document, making it a lower-priority concern for most organizations. If your team uses SiYuan for collaboration and shares documents, identify instances where users might receive and open untrusted `.sy.zip` files, particularly if the Electron client with `nodeIntegration` enabled is in use. Confirming the actual exposure and impact within your environment is the first step.

  • Application owners should confirm SiYuan usage.
  • Verify if Electron client with nodeIntegration is used.
  • Plan vendor coordination for updates.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is SiYuan?

SiYuan is a local, privacy-focused note-taking application that supports features like block-based editing and knowledge graph visualization. It runs as an Electron desktop client, which means it uses web technologies to create a desktop-native experience for organizing personal information, documents, and projects.

What does CVE-2026-130680 mean by stored XSS?

This refers to CWE-79, a weakness where an application fails to properly sanitize input. In this case, SiYuan does not escape specific checkbox column names in its Gallery or Kanban views. Because this malicious code is stored within a document, it can execute unexpectedly when that document is opened, potentially triggering deeper system commands.

How is this vulnerability triggered?

An attacker must share a specially crafted .sy.zip document that the victim opens within their SiYuan desktop client. The vulnerability does not trigger by simply having the software installed or interacting with legitimate, safe files. It specifically relies on the rendering process and the application's configuration to execute commands.

Is this vulnerability exposed to the internet?

According to Halo Surface Signal, this is very unlikely. Because SiYuan is a local desktop application and not a network-exposed service or web endpoint, the threat is localized. It requires user interaction to open a malicious file rather than being reachable by remote attackers scanning your network perimeter.

How should I respond to this threat?

Prioritize identifying where SiYuan is installed in your environment and whether users regularly open shared documents from external sources. Verify if your specific version falls within the 3.3.0 to 3.8.10 range and coordinate with your team to avoid opening untrusted or unknown .sy.zip files until you can update to a patched release.

References