Skip to main content

SiYuan EUVDEUVD-2026-39128

| CVE-2026-50551 CRITICAL
Cross-site Scripting (XSS) (CWE-79)
2026-06-24 GitHub_M GHSA-56mp-4f3v-fgj2
9.9
CVSS 3.1 · Vendor: GitHub_M
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 crafted payload in database asset cell
  3. Exploit
    Victim opens Attribute View in Electron client
  4. Execution
    XSS runs in privileged renderer
  5. Persist
    Break out to Node/OS context
  6. Impact
    Execute arbitrary code on host

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 the attacker to store crafted content into an Attribute View (database) asset cell, meaning some low-privilege write access to a notebook, workspace, or shared/synced database that the victim will open (consistent with CVSS PR:L). The full RCE impact is specific to the Electron desktop client; the web context yields stored XSS only. Limiting factors: the malicious database/asset must be loaded and rendered in the victim's client, so realistic attacks depend on a delivery channel (shared workspace, import, or sync) and the victim viewing the affected cell, and only versions prior to 3.7.0 are vulnerable.

Impact

The provided CVSS:3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H) yields 9.9, reflecting network reachability, low complexity, scope change (XSS context escaping into OS-level RCE), and total confidentiality/integrity/availability loss. PR:L indicates the attacker needs some low-privilege authenticated foothold to store the payload rather than fully unauthenticated access, which modestly tempers the raw score. No EPSS score, KEV listing, or POC was supplied, so despite the critical CVSS this is best treated as a high-priority patch item rather than confirmed mass-exploited: there is no evidence of active or automated exploitation at this time. One signal to verify: the NVD vector sets UI:N, but a stored-XSS-to-RCE chain typically requires a victim to open or render the malicious database view, so the realistic attack may involve victim interaction - confirm against GHSA-56mp-4f3v-fgj2 before assuming zero-interaction exploitation.

Exploit ScenarioDerived

An attacker crafts a SiYuan database (Attribute View) containing an asset cell with malicious markup and delivers it to a victim through a shared workspace, imported notebook, or synced data. When the victim opens the database view in the SiYuan Electron desktop client, the unsanitized payload executes in the privileged renderer and runs arbitrary code on the victim's machine. No public POC was provided in the intelligence sources.

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 – Jun 24, 2026

Stored cross-site scripting in SiYuan's Attribute View (database) asset cell renderer escalates to remote code execution on the Electron desktop client for all versions prior to 3.7.0. An attacker who can persist crafted content into a database asset cell has malicious JavaScript executed in the privileged Electron context, breaking out to the host operating system; the issue carries a 9.9 CVSS and is fixed in 3.7.0. No public exploit identified at time of analysis, and the flaw is not listed in CISA KEV.

RemediationAI

Vendor-released patch: 3.7.0 - upgrade all SiYuan installations (desktop and server) to 3.7.0 or later, which fixes the asset cell renderer sanitization, per advisory GHSA-56mp-4f3v-fgj2 (https://github.com/siyuan-note/siyuan/security/advisories/GHSA-56mp-4f3v-fgj2). If immediate upgrade is not possible, avoid importing or opening untrusted notebooks, workspaces, or shared databases that could contain crafted asset cells, and restrict who can write to shared/synced workspaces (trade-off: limits collaboration and shared-content workflows). On the desktop client, treating the Electron app as an untrusted-content viewer and not opening third-party-supplied workspace data reduces the RCE escalation path until patched. There is no documented in-product toggle to disable the Attribute View renderer, so patching is the only complete fix.

Affected VersionsENISA

SiYuan < 3.7.0

Affected Packages

go github.com/siyuan-note/siyuan/kernel fix: 0.0.0-20260628153353-2d5d72223df4
euvd siyuan fix: 3.7.0

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 open-source local-first personal knowledge management application distributed both as a web service and as a cross-platform Electron desktop client. The root cause is CWE-79 (improper neutralization of input during web page generation): the renderer that displays asset cells inside an Attribute View 'database' block fails to sanitize or encode attacker-controlled markup before injecting it into the DOM. Because the desktop client is built on Electron - which embeds Chromium with access to Node.js/native APIs unless strictly sandboxed - a stored script injection that would be a contained XSS in a browser instead gains the ability to invoke system-level primitives, turning the XSS into full remote code execution. The single affected product is identified by CPE cpe:2.3:a:siyuan-note:siyuan with all versions below the 3.7.0 fix.

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_M) PRIMARY 9.9 CRITICAL
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
vuln.today AI 9.0 CRITICAL

Attacker needs low-privilege write access to store the payload (PR:L) and a victim must open the malicious database view (UI:R); RCE escaping the app sandbox to the OS justifies S:C and C/I/A:H.

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
SUSE CRITICAL

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

1
Patch available
Jun 24, 2026 - 23:03 EUVD

DescriptionCVE.org

SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, SiYuan contains a stored cross-site scripting (XSS) vulnerability in the Attribute View (database) asset cell renderer that escalates to remote code execution (RCE) in the Electron desktop client. This vulnerability is fixed in 3.7.0.

Executive ViewAI

Why It Matters

SiYuan versions prior to 3.7.0 contain a critical vulnerability in the Attribute View database renderer that enables attackers to execute arbitrary code with system-level privileges on the Electron desktop client. Every desktop deployment is vulnerable to this escalation path, potentially compromising all user systems and any data accessed through the application.

Business Impact: Severe
Compensating Controls

Vendor-released patch: Version 3.7.0

Threat Intelligence Overview

EPSS Score
0.4%
Top 65% exploitable
Prevalence
Low
niche open-source personal knowledge management app, limited enterprise footprint
Threat Intel
1
1 sources
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub

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

Priority Score

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

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