Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker crafts malicious URL in Attribute View
-
DeliveryPlaces URL in mAsse field
-
ExploitVictim opens Gallery or Kanban view
-
ExecutionStored XSS payload executes in <img> tag
-
PersistJavaScript runs with nodeIntegration enabled
-
ImpactArbitrary code execution on victim system
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 | Attacker must have authenticated access to SiYuan (PR:L) to place malicious URL in Attribute View mAsse field. Victim must open Gallery or Kanban view with 'Cover From -> Asset Field' enabled. SiYuan Electron desktop client versions prior to 3.6.2 with nodeIntegration enabled and contextIsolation disabled are affected. |
| Impact | The CVSS 9.0 Critical rating accurately reflects real-world risk for desktop client users, though several factors moderate exploitation probability. The attack vector is network-based (AV:N) with low complexity (AC:L), but requires low-privilege authentication (PR:L) and user interaction (UI:R), creating natural barriers to mass exploitation. The changed scope (S:C) and high confidentiality, integrity, and availability impacts (C:H/I:H/A:H) justify the severity given the sandbox escape to OS command execution. However, practical exploitation requires the attacker to first obtain authenticated access to a victim's SiYuan workspace, then social-engineer the victim to view a specific Gallery or Kanban layout with particular display settings enabled. The attack surface is narrower than typical web application XSS since SiYuan is primarily a single-user personal knowledge tool, not a multi-tenant platform. No EPSS score is available for this recent CVE, and no public exploit identified at time of analysis, though the GitHub advisory provides sufficient technical detail for proof-of-concept development. The SSVC decision framework would classify this as having confirmed technical impact (arbitrary code execution) but unclear exploitation status and moderate automatability (requires authenticated session setup). Priority should focus on desktop Electron deployments; web-only instances face standard XSS risks without the command execution escalation. |
| Exploit ScenarioDerived | An attacker with authenticated access to a shared SiYuan workspace creates or modifies an Attribute View entry, inserting a crafted URL into an asset field such as "javascript:eval(String.fromCharCode(114,101,113,117,105,114,101,40,39,99,104,105,108,100,95,112,114,111,99,101,115,115,39,41,46,101,120,101,99,40,39,99,97,108,99,39,41))" disguised to appear as a legitimate image reference. When a victim user opens the affected database in Gallery or Kanban view with asset-based covers enabled, the malicious URL is rendered into an img tag's src attribute without sanitization. The browser executes the JavaScript payload, which in the Electron desktop client has unrestricted access to Node.js APIs via the enabled nodeIntegration. The attacker's code can then spawn child processes to execute arbitrary OS commands, install persistence mechanisms, exfiltrate local files including other SiYuan notebooks, or establish reverse shells, all running with the victim's operating system permissions. The attack persists in the stored database content, affecting any future users who view the compromised entry. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 31, 2026
Stored cross-site scripting (XSS) in SiYuan personal knowledge management system escalates to arbitrary operating system command execution on desktop clients. Authenticated attackers with low privileges can inject malicious URLs into Attribute View asset fields that execute JavaScript when victims view Gallery or Kanban layouts with "Cover From -> Asset Field" enabled. The Electron desktop client's configuration (nodeIntegration enabled, contextIsolation disabled) allows the XSS payload to break sandbox boundaries and execute arbitrary commands under the victim's OS account. CVSS 9.0 (Critical) with network attack vector, low complexity, and cross-scope impact. Vendor-released patch: version 3.6.2. No public exploit identified at time of analysis, though technical details are disclosed in GitHub advisory GHSA-rx4h-526q-4458.
RemediationAI
Upgrade immediately to SiYuan version 3.6.2 or later, released by the vendor to address this vulnerability. The patch implements proper input validation for asset field URLs and contextual output encoding when rendering cover images in Gallery and Kanban views. Download the patched release from the official GitHub repository at https://github.com/siyuan-note/siyuan/releases/tag/v3.6.2, verifying release signatures where available. Desktop client users should prioritize this update due to the command execution risk. Until patching is complete, avoid enabling "Cover From -> Asset Field" in Gallery or Kanban views, and review existing Attribute View configurations for suspicious or unexpected HTTP(S) URLs in asset fields that lack recognized image file extensions. In multi-user or shared workspace scenarios, audit recent asset field modifications via the issue reference at https://github.com/siyuan-note/siyuan/issues/17246 for indicators of attempted exploitation. No effective workaround exists beyond disabling the vulnerable feature or restricting access to trusted users only.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
SiYuan is an Electron-based personal knowledge management application combining note-taking with knowledge graph features. The vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation) stems from insufficient input validation in the Attribute View component's asset field handler. The application accepts arbitrary HTTP(S) URLs without file extension validation, storing attacker-controlled strings directly in the coverURL variable. When rendering Gallery or Kanban views with asset-based cover images, this unsanitized data is injected into HTML img src attributes without contextual output encoding. The severity escalates significantly in the Electron desktop environment due to unsafe webview configuration: nodeIntegration is enabled (allowing renderer processes to access Node.js APIs) and contextIsolation is disabled (permitting JavaScript in rendered content to access Electron and Node.js contexts directly). This configuration violates Electron security best practices and transforms a typical stored XSS into a complete sandbox escape, granting attackers full Node.js capabilities including child_process execution and filesystem access.
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
AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
SiYuan is a personal knowledge management system. Prior to version 3.6.2, an attacker who can place a malicious URL in an Attribute View mAsse field can trigger stored XSS when a victim opens the Gallery or Kanban view with “Cover From -> Asset Field” enabled. The vulnerable code accepts arbitrary http(s) URLs without extensions as images, stores the attacker-controlled string in coverURL, and injects it directly into an <img src="..."> attribute without escaping. In the Electron desktop client, the injected JavaScript executes with nodeIntegration enabled and contextIsolation disabled, so the XSS reaches arbitrary OS command execution under the victim’s account. This issue has been patched in version 3.6.2.
Executive ViewAI
SiYuan knowledge management system versions prior to 3.6.2 contain a stored XSS vulnerability that allows authenticated users to inject malicious code into asset fields, escalating to arbitrary command execution on Windows, macOS, and Linux desktop clients. This directly compromises the confidentiality, integrity, and availability of systems where SiYuan is deployed, particularly affecting organizations using it for sensitive knowledge storage or collaborative teams.
Vendor-released patch: version 3.6.2. If immediate patching is not possible, disable 'Cover From -> Asset Field' feature in all Gallery and Kanban layouts; restrict Attribute View modification permissions to trusted administrators only; consider temporary air-gapping of SiYuan instances pending patch deployment.
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.
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
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
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allVendor StatusVendor
SUSE
Severity: Critical| Product | Status |
|---|---|
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-17675
GHSA-rx4h-526q-4458
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB