Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain write access to shared/synced workspace
-
DeliveryStore malicious HTML in AV column name
-
ExploitVictim duplicates or adds column
-
ExecutioninsertAdjacentHTML renders payload (col.ts:801)
-
PersistJS runs with Node.js privileges
-
ImpactFull desktop compromise
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 | Exploitation requires: (1) attacker ability to write a malicious Attribute View column name into the victim's workspace - achievable through a shared/collaborative workspace via POST /api/av/addAttributeViewKey, a crafted .sy.zip import, or a tampered sync source (this is the PR:L prerequisite); (2) the SiYuan Desktop (Electron) client, where nodeIntegration lets renderer JavaScript reach Node.js - the RCE outcome does not apply to a pure browser/mobile context; and (3) one victim interaction: the victim must add or, per the advisory's primary trigger, right-click the poisoned column and choose Duplicate, which routes through the add/duplicate animation path at col.ts:801 (the main header render path at render.ts:235 is already escaped and is NOT vulnerable). Limiting factors: the attacker needs an existing write foothold, the victim must perform the add/duplicate action, and only v3.8.9 and earlier are affected (fixed in v3.8.10). |
| Impact | This is a genuine high-priority issue, and the signals are internally consistent rather than conflicting. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H, score 9.4) describes a network-reachable, low-complexity stored XSS that escalates to full desktop RCE, and the vuln.today Decision label is act_now with a vendor patch available - all pointing the same direction. Two factors temper the raw score: exploitation requires PR:L (the attacker needs some foothold to plant the column name - a shared/collaborative workspace, a malicious .sy.zip import, or a poisoned sync source) and UI:P (the victim must add or duplicate the affected column), so this is not a drive-by zero-click. EPSS is not provided and the CVE is not listed in CISA KEV, so there is no evidence of active, widespread exploitation yet; the realistic threat is targeted (a malicious collaborator or a tampered import/sync artifact) rather than mass internet scanning. Note the GHSA author's own CVSS estimate was 'High 7.5-8.5,' lower than the assigned 9.4 - the gap stems from whether the renderer-to-Node.js escape is scored as a scope change; the mechanism (Electron nodeIntegration) is well documented in the advisory, so the higher score is defensible. |
| Exploit ScenarioDerived | An attacker with write access to a shared or synced SiYuan workspace sets an Attribute View column name to a payload such as <img src=x onerror="..."> via the addAttributeViewKey API, a crafted .sy.zip import, or a poisoned sync source. The payload is stored unsanitized; when the victim later right-clicks that column and chooses Duplicate (or adds a column), the add/duplicate animation path at col.ts:801 passes the name to insertAdjacentHTML, executing the JavaScript. Because SiYuan's Electron renderer runs with nodeIntegration, the script executes with Node.js privileges, yielding full desktop compromise. The GHSA advisory includes a PoC attack scenario and jsdom-based lab verification, but the input does not mark it as confirmed working weaponized exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Stored cross-site scripting in SiYuan before 3.8.10 can escalate to desktop code execution because malicious Attribute View column names are rendered through raw HTML in the add/duplicate animation path. An attacker able to write a column name via the addAttributeViewKey API, a crafted .sy.zip import, or sync can plant a payload that runs when a victim adds or duplicates that column; on SiYuan Desktop's Electron renderer the JavaScript executes with Node.js privileges. The vendor fixed the issue in 3.8.10, and a public proof-of-concept description exists, but active exploitation is not confirmed.
RemediationAI
Upgrade to SiYuan 3.8.10 or later; the vendor advisory is https://github.com/siyuan-note/siyuan/security/advisories/GHSA-vvqj-4crq-p53p and the upstream fix applies escapeHtml to options.name at col.ts:801 and hardens related attribute interpolation. If upgrading cannot be done immediately, restrict write access to Attribute View column names in shared workspaces, avoid importing untrusted .sy.zip archives, and verify sync sources; these reduce the attack surface but do not correct the sink, and restricting write access or blocking imports/sync may disrupt collaboration workflows. The desktop RCE path depends on Electron's Node.js-enabled renderer, while browser/mobile clients do not provide that execution context.
Affected VersionsENISA
Affected Packages
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's Attribute View is a database-like table feature. The flaw is CWE-79 (improper neutralization of input during web page generation). The server stores column keyName without HTML sanitization in kernel/model/attribute_view.go AddAttributeViewKey(), and the table column add/duplicate animation at app/src/protyle/render/av/col.ts line 801 interpolates options.name directly into an HTML string before insertAdjacentHTML. The main header path at render.ts line 235 already calls escapeHtml, illustrating an incomplete-fix pattern; the upstream commit adds escapeHtml(options.name) and escapeAttr on related attributes. Triggering requires a victim to add or duplicate the poisoned column; on Electron desktop clients with nodeIntegration, renderer script reaches Node.js, while browser/mobile contexts do not provide that execution context. The CVSS 4.0 vector is AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H, and the independent assessment maps to CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
PR:L because the attacker needs write access to a shared/synced workspace to plant the name; UI:R because the victim must add/duplicate the column; S:C and C/I/A:H because renderer XSS escapes to Node.js OS-level RCE.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
SiYuan before 3.8.10 contains a stored cross-site scripting vulnerability that allows attackers to execute script by storing malicious Attribute View column names rendered unescaped in col.ts. Attackers can inject HTML via addAttributeViewKey, .sy.zip import, or sync, and when a victim adds or duplicates the column, insertAdjacentHTML runs JavaScript with Node.js privileges for desktop code execution.
Articles & Coverage 1
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
CVE-2026-130678 is a critical vulnerability in SiYuan (before version 3.8.10) that allows a stored cross-site scripting attack to escalate to desktop code execution on the Electron-based desktop client. This affects any organization using SiYuan for note-taking or knowledge management, as an attacker with write access (via API, import, or sync) can plant a payload that executes when a user adds or duplicates a column, leading to full system compromise under Node.js privileges. Leadership should prioritize remediation because the flaw enables attackers to bypass application boundaries and gain control of user workstations, potentially leading to data breaches or lateral movement.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
SQL injection in SiYuan's fullTextSearchAssetContent endpoint lets unauthenticated attackers and holders of publish Role
Stored cross-site scripting in SiYuan personal knowledge management before 3.7.0 lets an attacker with write access to a
SQL injection in SiYuan personal knowledge management (versions <= v3.7.2) lets attackers pass arbitrary SQL statements
Stored cross-site scripting in SiYuan's attribute-view (database) cell renderer, affecting all versions prior to 3.7.0,
SQL injection in SiYuan personal knowledge-management software (all versions before v3.7.3) lets attackers inject arbitr
A SQL injection vulnerability was discovered in Siyuan 3.1.11 in /getHistoryItems. Rated critical severity (CVSS 9.8), t
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the ids array parameter in /batchGetBlockAttrs. R
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the id parameter at /getAssetContent. Rated criti
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the notebook parameter in /searchHistory. Rated c
SiYuan personal knowledge management system prior to 3.5.4 has a stored XSS vulnerability (CVSS 9.6) that allows code ex
Remote code execution in SiYuan note-taking application (before v3.6.1) allows any malicious Bazaar marketplace package
Origin-validation bypass in SiYuan Note (open-source personal knowledge management) before 3.7.0 lets any installed Chro
EUVD-2026-128753
GHSA-m9xr-rqfh-qjpx
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB