Skip to main content

SiYuan CVE-2026-130680

| EUVDEUVD-2026-128754 CRITICAL
Cross-site Scripting (XSS) (CWE-79)
2026-11-18 VulnCheck GHSA-pmjj-gw4x-8pj6
9.4
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Craft malicious .sy.zip with payload in checkbox column name
  2. Delivery
    Deliver via file share or published document
  3. Exploit
    Victim opens/imports in desktop Electron client
  4. Execution
    Unescaped name renders into Protyle DOM
  5. Persist
    Script executes via nodeIntegration as Node.js
  6. Impact
    Arbitrary host OS command execution

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

Requires the SiYuan desktop Electron client (which ships with nodeIntegration:true, contextIsolation:false, @electron/remote enabled, and CSP headers stripped in local mode) to open or import an attacker-supplied .sy.zip document or notebook - or to view a shared workspace/published document - that contains an AttributeView (database) block using the Gallery or Kanban layout with a checkbox column and the default displayFieldName:false setting; the attacker controls the checkbox column name (keyValues[].key.name) which is rendered unescaped. Limiting factors: passive user interaction is required (the victim must open/import the malicious document, reflected as UI:P), and the browser/web-served configuration with web security enabled is not subject to the Node.js/OS escalation since that depends on the desktop Electron process settings. No authentication is required to craft or deliver the file (PR:N).

Impact

Multiple signals align toward high priority. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H with subsequent-system impact SC:H/SI:H/SA:H, score 9.4) and the vuln.today 'act_now' decision label both indicate a severe, low-complexity flaw whose impact crosses from the renderer into the host OS. The mechanism is confirmed by the vendor GHSA advisory: stored XSS in the unescaped checkbox column name of Gallery/Kanban AttributeView renderers that escalates to arbitrary Node.js/OS command execution because SiYuan's desktop Electron window runs with nodeIntegration:true, contextIsolation:false, @electron/remote enabled, and CSP stripped in local mode. The one real limiter is UI:P - a victim must open or import the attacker's crafted .sy.zip document/notebook (or view a shared/published one); exploitation is not fully drive-by, which is why the vector uses UI:P rather than UI:N. No EPSS score, no CISA KEV listing, and no verified public exploit code are present in the input, so active-exploitation and widespread-scanning signals are absent and cannot be asserted. Net: this is a genuine high-severity, act-now issue driven by confirmed severe technical impact and a trivial trigger, but exploitation depends on social delivery of a malicious file to desktop users rather than on remote unauthenticated reachability of a service.

Exploit ScenarioDerived

An attacker crafts a .sy.zip SiYuan document containing a Gallery or Kanban database view whose checkbox column name holds an HTML/script payload, then shares it (import file, shared workspace, or published document). When a victim opens or imports it in the SiYuan desktop Electron client, the unescaped column name renders into the live DOM and immediately executes JavaScript that, via nodeIntegration, runs arbitrary Node.js and host OS commands with no click or hover inside the document. No verified public exploit code is identified in the input, though the GHSA advisory documents the full code path.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.4% 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 3.3.0 through 3.8.9 lets unauthenticated remote attackers hide HTML inside an AttributeView checkbox column name, which the Gallery and Kanban renderers write into the page without escaping; simply opening or importing a crafted .sy.zip document (or viewing a shared/published document) renders the payload. Because the SiYuan desktop client ships Electron with nodeIntegration enabled, contextIsolation disabled and CSP headers stripped in local mode, the injected JavaScript runs with full Node.js and host OS privileges, turning a CWE-79 defect into CWE-94 arbitrary command execution. Exploitation is not automatic at the network level: the victim must open or import the malicious document, which is passive user interaction rather than a click inside the document, and no public exploit code has been identified at time of analysis. The vuln.today decision label is act_now, so treat patching as high priority.

RemediationAI

Upgrade SiYuan to v3.8.10, the version in which the checkbox column name is no longer rendered unescaped in the Gallery and Kanban AttributeView renderers; the fix was delivered upstream and the vendor advisory GHSA-g275-mf26-qx9r (https://github.com/siyuan-note/siyuan/security/advisories/GHSA-g275-mf26-qx9r) documents the affected range 3.3.0 through 3.8.9. Until the upgrade is deployed, reduce exposure by not opening or importing .sy.zip documents or notebooks, and not viewing shared workspace or published documents, from untrusted sources; the advisory's trigger path shows that import alone is enough, with no further click inside the document required. Note that this restriction is a delivery-path control with a real usability cost for collaboration workflows and does not fix the underlying escaping defect, and note that the arbitrary Node.js and host OS command execution applies to the desktop Electron client, whereas browser-served deployments with web security enabled are not subject to that escalation.

Affected VersionsENISA

SiYuan 3.3.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

The root cause is CWE-79 in SiYuan's AttributeView rendering pipeline, which escalates to CWE-94 code injection because of the Electron runtime. On import, importSY0 in kernel/model/import.go copies storage/av/<avID>.json into data/storage/av/ after ID replacement but never HTML-escapes keyValues[].key.name; POST /api/av/renderAttributeView (kernel/api/av.go, with the gallery and kanban SQL builders in kernel/sql/av_gallery.go and av_kanban.go) then returns that column name verbatim as fields[].name, and displayFieldName defaults to false via NewCardSettings() in kernel/av/layout_card.go. On the frontend, getRowHTML in app/src/protyle/render/av/row.ts assigns the raw field name to cell.value.checkbox.content in both the Gallery and Kanban branches whenever the checkbox cell is rendered with displayFieldName false, and renderCell in app/src/protyle/render/av/cell.ts concatenates cellValue.checkbox.content straight into the returned HTML string without escapeHtmlTextAndAttr or DOMPurify; the surrounding name and tip markup in row.ts is escaped, which makes the renderCell sink easy to miss during review. The resulting string reaches the live Protyle DOM through outerHTML assignment in replaceAVContainer (app/src/protyle/render/av/container.ts) and innerHTML assignments in gallery/render.ts, kanban/render.ts and gallery/item.ts, where insertGalleryItemAnimation additionally reads the decoded aria-label back into cellValue.checkbox.content. The escalation depends entirely on the desktop Electron configuration in app/electron/main.js: nodeIntegration true, contextIsolation false, @electron/remote enabled via remote.enable(currentWindow.webContents), and content-security-policy headers deleted in local mode, so injected markup executes Node.js and OS commands on render. The browser/web-served configuration with web security enabled is not subject to the Node.js/OS escalation, and the advisory covers this distinction.

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:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
vuln.today AI 9.6 CRITICAL

Attacker-controlled file delivered over network (AV:N) with no privileges (PR:N) but requires the victim to open it (UI:R); renderer-to-host-OS escalation is a scope change (S:C) with full C/I/A impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/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
None
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

Lifecycle Timeline

2
Patch available
Nov 18, 2026 - 13:02 EUVD
CVE Published
Nov 18, 2026 - 11:33 cve.org
CRITICAL 9.4

DescriptionCVE.org

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 in Gallery and Kanban AttributeView renderers. Attackers can share a crafted .sy.zip document whose rendering in the Electron desktop client with nodeIntegration enabled executes Node.js and host OS commands.

Technical POC Analysis

Stored XSS, CWE-79.

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

A critical stored cross-site scripting vulnerability in SiYuan versions 3.3.0 through 3.8.9 allows unauthenticated attackers to embed malicious code in shared or imported documents, which can lead to full system compromise due to Electron's insecure configuration. This puts all users of affected SiYuan clients at risk, especially those who open documents from external sources. Leadership should prioritize this because successful exploitation can result in arbitrary command execution on user machines, potentially leading to data breaches or ransomware.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include: restrict import of .sy.zip documents to trusted sources only; disable sharing/publishing features if possible; enforce least privilege on user workstations; monitor for suspicious child processes spawned by SiYuan; apply application allowlisting to block unauthorized executables; and consider network segmentation to limit lateral movement.

Threat Intelligence Overview

EPSS Score
0.4%
Top 67% exploitable
Prevalence
Low
niche open-source note-taking/PKM app, limited enterprise footprint
Data Quality
4 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.4%
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
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: 0
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.

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