Versions of SiYuan before 3.8.10 contain a critical stored cross-site scripting flaw: malicious Attribute View column names can run JavaScript with Node.js privileges, which can lead to code execution on desktop installs.
What Is It
CVE-2026-130678 is a stored cross-site scripting vulnerability (CWE-79) in SiYuan, the note-taking application from siyuan-note. Attribute View column names are rendered unescaped in col.ts. An attacker can store HTML in a column name in three ways:
- through
addAttributeViewKey - through a
.sy.zipimport - through sync
The payload runs when a victim adds or duplicates the affected column. At that point insertAdjacentHTML executes the injected JavaScript with Node.js privileges. On the desktop application, this can lead to code execution.
VulnCheck disclosed the vulnerability. NVD published the record on 2026-11-18 with the status "Deferred."
Why It Matters
VulnCheck rates the flaw 9.0 CRITICAL under CVSS 3.1 (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H) and 9.4 CRITICAL under CVSS 4.0. The CVSS 3.1 vector means:
- the attack works over the network
- it has low complexity
- the attacker needs only low privileges
- the victim has to take an action
- the impact crosses the application boundary (changed scope)
- confidentiality, integrity and availability impacts are all high
The injected script runs with Node.js privileges, so the impact can go beyond a typical browser-only XSS. On desktop installs, and once a victim takes the triggering action, it can reach code execution on the host. Import and sync are both delivery paths, so a booby-trapped notebook archive or a shared sync source could carry the payload to other users.
None of the sources cited below report active exploitation of this CVE in the wild.
What's Vulnerable
- Vendor: siyuan-note
- Product: SiYuan
- Affected: all versions before 3.8.10 (semver)
- Unaffected: 3.8.10
The record lists no CPEs.
Patch Status
The issue is fixed in SiYuan 3.8.10. The upstream fix is in GitHub commit 9c24c3d, and the project has published security advisory GHSA-vvqj-4crq-p53p. Users should upgrade to 3.8.10 or later.
The sources cited here list no CISA-mandated required action or due date for this CVE. Until patched systems are confirmed, be cautious with .sy.zip imports and synced content from untrusted sources.