SiYuan CVE-2026-73052
CRITICALAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain field-edit access to shared workspace
-
DeliveryRename database field to XSS payload
-
ExploitVictim opens attribute-view sort menu
-
ExecutioninnerHTML injects markup, script runs
-
PersistNode integration executes OS command
-
ImpactAttacker controls victim 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 have write access to an attribute-view (database) field name - i.e., the ability to create or rename a field in a workspace the victim also uses (shared, collaborative, or imported/synced content), consistent with PR:L. The victim must then open the sort menu of that specific attribute view (UI:P) for the stored payload to render via innerHTML. Full host code execution is limited to the Electron desktop client with Node integration enabled; the browser/server-accessed web UI would suffer script execution confined to the page rather than OS-level RCE. Limiting factors: required low-privilege field-write access, required victim interaction (opening the sort menu), and the Node-integration desktop deployment for the RCE outcome. |
| Impact | The signals align toward genuine priority: the vendor-scored CVSS 4.0 base is 9.4 with AV:N, AC:L, and full high impact to both the vulnerable and subsequent systems, reflecting the XSS-to-RCE escalation via Node integration. Two mitigating factors temper raw urgency - the attacker needs at least low privileges (PR:L, i.e., the ability to create/rename a database field, plausible in shared or collaborative workspaces or via imported/shared content) and the victim must perform an action (UI:P) by opening the sort menu. There is no EPSS score, KEV listing, or public POC in the provided data, so exploitation is currently theoretical rather than observed; the risk is real but not yet demonstrably weaponized, and any operator relying on shared SiYuan workspaces - even a mid-sized municipal IT team in rybnik running the desktop client for collaborative notes - should treat patching as urgent because the Node-integration path turns a content-injection bug into host compromise. Absence of EPSS/KEV data is a gap, not evidence of low risk. |
| Exploit ScenarioDerived | An attacker with edit access to a shared or exported SiYuan workspace renames an attribute-view (database) field to a payload such as an <img> or <option> string carrying an onerror/script handler. When a colleague later opens that database's sort menu, the markup is inserted via innerHTML and executes; on the Electron desktop client with Node integration, the script spawns a process and runs attacker code on the victim's host. No public POC is identified at time of analysis, but the low complexity makes weaponization straightforward. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 15, 2026
Stored cross-site scripting in SiYuan's desktop note-taking client (versions before 3.7.4) allows an attacker who can rename an attribute-view (database) field to inject HTML that executes when a victim opens the sort menu, and because the Electron desktop client runs with Node integration enabled, that script achieves arbitrary code execution on the victim's machine. The flaw is authenticated/low-privilege and requires the victim to open the affected menu; no public exploit has been identified at time of analysis, though a vendor security advisory (GHSA-g3jx-227v-x2x4) and VulnCheck advisory document the issue.
RemediationAI
Upgrade to SiYuan v3.7.4 or later, which contains the vendor fix (see GHSA-g3jx-227v-x2x4). Until the update is applied, avoid opening attribute-view sort menus on databases whose field names originated from untrusted or shared sources, and be cautious importing or syncing workspaces from other users, since a renamed field is the injection vector. Organizations that build or repackage the Electron client can reduce blast radius by disabling Node integration and enabling context isolation in the renderer, which would downgrade the impact from RCE to in-app script execution - at the cost of breaking any features that legitimately rely on Node APIs. Reference the vendor advisory at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-g3jx-227v-x2x4 for the authoritative fix details.
Affected ProductsAI
SiYuan (siyuan-note/siyuan) desktop client, all versions before v3.7.4, with the Electron desktop build (Node integration enabled) being the configuration that escalates to code execution. Fixed in v3.7.4. Vendor advisory: https://github.com/siyuan-note/siyuan/security/advisories/GHSA-g3jx-227v-x2x4; additional analysis at https://www.vulncheck.com/advisories/siyuan-before-stored-xss-via-attribute-view-field-names. No CPE strings were provided in the source data.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
SiYuan is a self-hosted, privacy-focused knowledge-management and note-taking application whose desktop client is built on Electron. The vulnerability is a classic CWE-79 (Improper Neutralization of Input During Web Page Generation) stored XSS: attribute-view field names are persisted without HTML escaping and later interpolated directly into <option> elements through innerHTML when the sort menu is rendered. Because the rendering happens in an Electron renderer with Node integration enabled, injected JavaScript is not confined to a browser sandbox - it can reach Node.js APIs (e.g., child_process, fs), converting a DOM-based script injection into full host code execution.
Know when the next one hits your stack
- 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Attacker needs low-privilege field-write access (PR:L) and victim must open the menu (UI:R); Node-integration escape from renderer to OS crosses a trust boundary, so S:C with full C/I/A impact.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
DescriptionCVE.org
SiYuan before v3.7.4 stores attribute-view field names without HTML escaping and interpolates them directly into option elements via innerHTML in the sort menu. Attackers can inject markup by renaming a database field to execute arbitrary JavaScript when users open the sort menu, with Node integration enabled in the desktop client enabling code execution.
Executive ViewAI
SiYuan desktop note-taking client versions before 3.7.4 contain a stored cross-site scripting vulnerability that allows any low-privileged user with field-modification access to achieve arbitrary code execution on victim machines through the Electron runtime. Organizations deploying SiYuan face system compromise, data exfiltration, and malware deployment risks from internal collaborators or compromised accounts. No vendor patch is currently available, requiring immediate access controls or platform alternatives to protect endpoints.
No vendor-released patch identified at time of analysis. Interim mitigations include restricting SiYuan to air-gapped systems and non-sensitive workflows, enforcing least-privilege database permissions so standard users cannot modify fields, implementing OS-level containment (AppArmor/SELinux profiles), disabling sort-menu features via configuration, and monitoring for unauthorized SiYuan configuration changes. Establish direct contact with vendor for emergency patch timeline given the critical RCE exposure.
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.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB