Skip to main content

SiYuan CVE-2026-130678

| EUVDEUVD-2026-128753 CRITICAL
Cross-site Scripting (XSS) (CWE-79)
2026-11-18 VulnCheck GHSA-m9xr-rqfh-qjpx
9.4
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain write access to shared/synced workspace
  2. Delivery
    Store malicious HTML in AV column name
  3. Exploit
    Victim duplicates or adds column
  4. Execution
    insertAdjacentHTML renders payload (col.ts:801)
  5. Persist
    JS runs with Node.js privileges
  6. Impact
    Full 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

SiYuan 0 <3.8.10

Affected Packages

euvd siyuan fix: 3.8.10

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

Vendor (VulnCheck) PRIMARY 9.4 CRITICAL
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
vuln.today AI 9.0 CRITICAL

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.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

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.

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 56% exploitable
Prevalence
Low
niche open-source personal knowledge/note-taking app, limited enterprise footprint
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +47
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

More in Siyuan

View all
CVE-2026-69083 CRITICAL POC
9.9 Aug 03

SQL injection in SiYuan's fullTextSearchAssetContent endpoint lets unauthenticated attackers and holders of publish Role

CVE-2026-54067 CRITICAL POC
9.9 Jun 24

Stored cross-site scripting in SiYuan personal knowledge management before 3.7.0 lets an attacker with write access to a

CVE-2026-69084 CRITICAL POC
9.9 Aug 03

SQL injection in SiYuan personal knowledge management (versions <= v3.7.2) lets attackers pass arbitrary SQL statements

CVE-2026-54158 CRITICAL POC
9.9 Jun 24

Stored cross-site scripting in SiYuan's attribute-view (database) cell renderer, affecting all versions prior to 3.7.0,

CVE-2026-69085 CRITICAL POC
9.9 Aug 03

SQL injection in SiYuan personal knowledge-management software (all versions before v3.7.3) lets attackers inject arbitr

CVE-2024-53507 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability was discovered in Siyuan 3.1.11 in /getHistoryItems. Rated critical severity (CVSS 9.8), t

CVE-2024-53506 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the ids array parameter in /batchGetBlockAttrs. R

CVE-2024-53505 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the id parameter at /getAssetContent. Rated criti

CVE-2024-53504 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the notebook parameter in /searchHistory. Rated c

CVE-2026-23852 CRITICAL POC
9.6 Jan 19

SiYuan personal knowledge management system prior to 3.5.4 has a stored XSS vulnerability (CVSS 9.6) that allows code ex

CVE-2026-56397 CRITICAL POC
9.4 Jun 21

Remote code execution in SiYuan note-taking application (before v3.6.1) allows any malicious Bazaar marketplace package

CVE-2026-54069 CRITICAL POC
9.2 Jun 24

Origin-validation bypass in SiYuan Note (open-source personal knowledge management) before 3.7.0 lets any installed Chro

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy