Severity by source
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
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
Lifecycle Timeline
3DescriptionGitHub 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.
AnalysisAI
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.
Technical ContextAI
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.
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.
FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote
Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t
Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete
Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc
An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner
Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi
Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin
The JS-YAML module before 2.0.5 for Node.js parses input without properly considering the unsafe !!js/function tag, whic
Directory traversal vulnerability in lib/app/index.js in Geddy before 13.0.8 for Node.js allows remote attackers to read
Credential-harvesting malware compromised 84 versions of 42 TanStack npm packages on 2026-05-11 via chained GitHub Actio
Eval injection vulnerability in index.js in the syntax-error package before 1.1.1 for Node.js 0.10.x, as used in IBM Rat
The HTTP server in Node.js 0.10.x before 0.10.21 and 0.8.x before 0.8.26 allows remote attackers to cause a denial of se
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-30354