Skip to main content

Siyuan EUVDEUVD-2026-17675

| CVE-2026-34448 CRITICAL
Cross-site Scripting (XSS) (CWE-79)
2026-03-31 security-advisories@github.com GHSA-rx4h-526q-4458
9.0
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Attacker crafts malicious URL in Attribute View
  2. Delivery
    Places URL in mAsse field
  3. Exploit
    Victim opens Gallery or Kanban view
  4. Execution
    Stored XSS payload executes in <img> tag
  5. Persist
    JavaScript runs with nodeIntegration enabled
  6. Impact
    Arbitrary 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.

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

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

Alert me

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

SiYuan < 3.6.2

Affected Packages

go github.com/siyuan-note/siyuan/kernel fix: 3.6.2
euvd siyuan fix: 3.6.2

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

Vendor (github) PRIMARY 9.0 CRITICAL
AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
SUSE CRITICAL

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch released
Apr 01, 2026 - 02:30 nvd
Patch available
CVE Published
Mar 31, 2026 - 22:16 nvd
CRITICAL 9.0

DescriptionCVE.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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.0%
Top 85% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub VulDB

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.0%
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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

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

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

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

Vendor 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

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