On this page (7 sections)

A critical stored cross-site scripting (XSS) flaw has been published for SiYuan, the note-taking and knowledge management app. Tracked as CVE-2026-130680, it affects versions from 3.3.0 up to but not including 3.8.10. According to the GitHub Advisory Database, a crafted shared document can lead to Node.js and host operating system commands running in the Electron desktop client.

If you or your team use SiYuan, especially if you import documents from other people, you should check your version and update. The advisory has so far been covered by only one independent publisher, and the NVD entry repeats the same text, so the details below are limited to what that advisory states.

What happened

The advisory was published on November 18, 2026 and describes a stored XSS in how SiYuan renders certain database views. Attribute views in SiYuan can be shown as Gallery or Kanban layouts. In the affected versions, the names of checkbox columns are not escaped when those layouts are drawn, so HTML placed in a column name is interpreted as markup instead of plain text.

The advisory says an attacker can share a crafted .sy.zip document. When the Electron desktop client with nodeIntegration enabled renders it, the injected HTML leads to execution of Node.js code and commands on the host operating system.

Why XSS becomes command execution here

Normally XSS in a web page is confined to the browser sandbox. It can steal session data or act as the user on that site, but it cannot touch the local machine. Electron apps are different. When nodeIntegration is enabled, the web content inside the app window can call Node.js APIs directly, which include file system access and process execution. Any script that runs in such a window effectively runs with the user's own privileges on the computer.

That is why a bug in escaping a column name is rated 9.4. The injection point is small, but the context turns it into code execution on the desktop.

How the score reads

The CVSS v4 metrics shown in the advisory list Attack Vector as Network, Attack Complexity as Low, no privileges required, and user interaction as Passive, with High impact on confidentiality, integrity and availability for both the vulnerable and subsequent systems. In plain terms: the attacker needs no account, the victim only has to have the crafted content rendered, and the result can be a full compromise of the user's machine.

Who is realistically exposed

  • Users of the SiYuan Electron desktop client on versions 3.3.0 through 3.8.9. The advisory specifically names the desktop client with nodeIntegration enabled.
  • Teams and communities that exchange notebooks or documents as .sy.zip files, for example through chat, email, shared drives or public template galleries.
  • Anyone who imports documents from sources they do not control.
  • Machines that hold sensitive data such as SSH keys, browser profiles or cloud credentials, since code would run as the logged-in user.
The advisory does not say whether other SiYuan deployments, such as a self-hosted server accessed through a browser, are affected, and it does not describe other clients. Do not assume either way; updating is the safe course.

How to check your exposure

Open SiYuan and look at the version in the application's About or settings area. If it reads 3.3.0 or later but lower than 3.8.10, you are in the affected range. If you manage several machines, inventory where SiYuan is installed, since desktop apps are often missed by server-focused patching.

Also review whether anyone recently imported a .sy.zip file from an outside party. The research does not describe any indicators of compromise, so there is no specific signature to search for. Treat unexpected imports on an unpatched version as a reason to look more closely at the machine.

What to do now

  1. Update SiYuan to version 3.8.10 or later on every machine that runs it, using the project's official release channel.
  2. Until you have updated, do not open or import .sy.zip documents from people or sources you do not fully trust.
  3. Ask colleagues and community members to check their versions too, especially if you distribute shared notebooks.
  4. If an untrusted .sy.zip was opened on an affected version, treat that computer as potentially compromised: review recent processes and startup items, and rotate credentials and keys stored on it.
  5. Run SiYuan under a normal user account rather than an administrator account to limit what injected code could do.
  6. Keep desktop applications in your regular patch inventory alongside servers and CMS plugins.
Caution. Updating restarts the application. Save open work and make sure your notebooks are backed up or synced before upgrading.

Detection and monitoring

This is a client-side flaw, so a website scanner will not tell you whether a desktop install is vulnerable. Detection relies on endpoint tooling: look for unexpected child processes spawned by the SiYuan application, such as shells or scripting interpreters, and for unusual outbound connections right after a document is opened. If you publish or host shared content on a website, it is still worth keeping that site monitored. Webforta Monitor can alert you to certificate, DNS and header changes, though it does not detect this specific issue.

For wider habits that reduce the impact of this type of bug, see our guide to small business website security, and browse the Webforta blog for other recent vulnerability write-ups.

What we do not know yet

  • The advisory lists affected and patched versions as unknown in its structured fields; the fixed version of 3.8.10 comes from the description text, which says "before 3.8.10".
  • No exploitation in the wild is reported in the research, and the CVE record shows no CISA Known Exploited Vulnerabilities entry. That is not proof the flaw is unused.
  • The GitHub entry is marked unreviewed, and a project advisory is referenced as GHSA-g275-mf26-qx9r. Check it for any additional guidance from the maintainers.

Sources

This article is based on the public sources below. Details can change as vendors and researchers publish more; check the original advisories before acting on version numbers.

  1. CVE-2026-130680 - GitHub Advisory Databasegithub.com
  2. CVE-2026-130680: SiYuan from 3.3.0 before 3.8.10 contains a stored cross-site scripting vulnerability that allows attackers to inject HTML via unescaped checkbox column names…nvd.nist.gov ·
  • SiYuan
  • XSS
  • Electron
  • CVE-2026-130680
  • desktop app