Skip to main content

SiYuan CVE-2026-44586

| EUVDEUVD-2026-30354 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-05-14 GitHub_M
8.3
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

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

  1. Recon
    Publish malicious package to Bazaar
  2. Delivery
    User browses marketplace
  3. Exploit
    Render unescaped metadata
  4. Install
    Execute JavaScript in Electron context
  5. C2
    Call Node.js child_process APIs
  6. Execute
    Execute arbitrary system commands
  7. Impact
    Install persistence mechanism

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

User must actively open the Bazaar marketplace interface within the SiYuan desktop application and view a package listing containing the malicious metadata payload. The vulnerability affects only the desktop Electron application, not web-hosted or mobile instances, because exploitation requires the nodeIntegration: true and contextIsolation: false Electron configuration present in desktop builds. Attack complexity is high because the attacker must either compromise the official Bazaar package feed infrastructure, convince administrators to add a malicious third-party marketplace source, or register a seemingly legitimate package on the official marketplace that passes initial review. Default SiYuan installations are exploitable if users browse the marketplace, but exploitation is limited by the need for victim interaction with the specific malicious package entry rather than passive background exploitation.

Impact

CVSS 8.3 (High) accurately reflects the severity given the code execution outcome, though the vector string reveals important risk-limiting factors. Attack vector is Network (AV:N) but attack complexity is High (AC:H), requiring the attacker to craft a malicious package and publish it to the Bazaar marketplace or manipulate the feed URL. User interaction is Required (UI:R) - victims must actively browse the marketplace and view the malicious package entry. Scope is Changed (S:C), meaning the payload escapes the application context to the underlying OS. No EPSS data provided, no CISA KEV listing, and no public proof-of-concept identified, suggesting this remains a theoretical risk rather than actively exploited threat. The GitHub Security Advisory (GHSA-x6wf-w2rg-2gw9) confirms vendor acknowledgment. Real-world exploitation requires either compromising the official Bazaar feed infrastructure or social engineering users to add malicious third-party marketplace sources. For organizations running SiYuan 2.1.12-3.6.x, this is a critical upgrade priority despite the attack complexity, as successful exploitation yields full host compromise equivalent to running arbitrary executables with the user's privileges.

Exploit ScenarioDerived

An attacker publishes a malicious package to the SiYuan Bazaar marketplace (or compromises an existing package) with specially crafted author metadata containing JavaScript payload. When a SiYuan user browses the marketplace to discover plugins or themes, the application renders the malicious metadata without HTML escaping, executing the payload in the Electron context. Because nodeIntegration is enabled, the payload calls require('child_process').exec() to download and execute a second-stage implant, establishing persistent access to the victim's workstation with full user privileges. No public proof-of-concept code has been identified, but the technical details in the security advisory provide sufficient information for capable attackers to develop working exploits.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – May 14, 2026

Stored cross-site scripting in SiYuan's Bazaar marketplace (versions 2.1.12 through 3.6.x) enables arbitrary code execution on the host system. The vulnerability stems from unescaped package author metadata rendering, which when exploited through a malicious marketplace package, allows attackers to leverage SiYuan's insecure Electron configuration (nodeIntegration enabled, contextIsolation disabled) to execute Node.js APIs and OS-level commands. No public exploit or active exploitation confirmed at time of analysis. CVSS 8.3 with high attack complexity and required user interaction suggests real-world exploitation depends on convincing users to view crafted marketplace entries.

RemediationAI

Upgrade to SiYuan 3.7.0 or later, which implements proper HTML escaping for Bazaar marketplace metadata rendering. Download the patched release from the official SiYuan GitHub repository releases page. If immediate upgrade is not feasible, disable or restrict access to the Bazaar marketplace feature within SiYuan settings to prevent exposure to malicious package metadata. Review and remove any custom or third-party Bazaar feed URLs configured in the application, retaining only the official siyuan-note marketplace source. Organizations should audit systems for indicators of compromise by reviewing SiYuan application logs and system process execution history for unexpected Node.js child process spawns. Note that disabling Bazaar access impacts the user's ability to install community plugins and themes, creating a usability trade-off until upgrade is completed. Full remediation details at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-x6wf-w2rg-2gw9.

Affected VersionsENISA

SiYuan 2.1.12, < 3.7.0
SiYuan 2.1.12, < 3.7.0

Affected Packages

euvd siyuan_2_1_12 fix: 3.7.0

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 is an open-source personal knowledge management system built on Electron framework. The vulnerability exists in the Bazaar marketplace component, which fetches package metadata from a public feed and renders author information into the application's HTML interface. The affected product (cpe:2.3:a:siyuan-note:siyuan) runs as an Electron desktop application configured with nodeIntegration: true and contextIsolation: false - security settings that expose Node.js APIs to web content. CWE-79 (Cross-site Scripting) in this context escalates beyond typical XSS impact because the Electron security model is intentionally weakened, allowing JavaScript payloads to break out of the browser sandbox and execute system commands via require() calls to Node.js modules like child_process. This architectural decision transforms what would normally be a data exfiltration risk into a complete system compromise vector.

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

GitHub Advisory PRIMARY 8.3 HIGH
AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

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

Lifecycle Timeline

2
Patch available
May 14, 2026 - 20:17 EUVD
CVE Published
May 14, 2026 - 18:11 nvd
HIGH 8.3

DescriptionGitHub Advisory

SiYuan is an open-source personal knowledge management system. From 2.1.12 to before 3.7.0. SiYuan's Bazaar marketplace renders package author metadata from the public bazaar stage feed into HTML without escaping. In the desktop app this becomes stored XSS, and because SiYuan's Electron windows are created with nodeIntegration: true and contextIsolation: false, a successful payload can call Node.js APIs and execute code on the host. This vulnerability is fixed in 3.7.0.

Executive ViewAI

Why It Matters

SiYuan Bazaar marketplace contains a stored cross-site scripting vulnerability (CVE-2026-44586, CVSS 8.3) in versions 2.1.12 through 3.6.x that could allow attackers to execute arbitrary code on affected systems through malicious package submissions. This poses a direct threat to any organization or individual using SiYuan for note-taking and knowledge management, as successful exploitation requires only user viewing of a crafted marketplace entry. Immediate action is required to protect systems from potential compromise, data theft, or operational disruption.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict user access to Bazaar marketplace functionality; prohibit installation of packages from untrusted or newly created marketplace authors; implement endpoint detection and response (EDR) monitoring on systems running SiYuan to detect anomalous Node.js or OS command execution; run SiYuan in restricted user accounts without elevated privileges; use application whitelisting to prevent unauthorized process spawning from SiYuan.

Threat Intelligence Overview

EPSS Score
0.1%
Top 84% exploitable
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 HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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

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