SiYuan CVE-2026-73042
CRITICALAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconGain low-priv edit access to shared workspace
-
DeliveryInject markup via database field name/description
-
ExploitMetadata stored in database menu
-
InstallVictim opens group/view/field-edit menu
-
C2Unescaped interpolation fires event handler
-
ExecuteScript reaches Node via insecure Electron
-
ImpactExecute 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 (1) attacker ability to write a SiYuan database field name or description - i.e., low-privileged authenticated/edit access to a shared, collaborative, or synced workspace (matching PR:L); (2) a victim who opens the specific group, view, or field-edit menu that renders the poisoned metadata (UI:P - passive but required interaction); (3) a SiYuan version before v3.7.4; and (4) the default insecure Electron configuration that exposes Node built-ins, which is what elevates the XSS to RCE. Limiting factors: the payload does not fire on its own, so a purely single-user local instance with no imported/shared content has minimal exposure, and an attacker with no write path into the target's databases cannot deliver the payload. |
| Impact | The signals are largely consistent and point to a genuine high priority: the CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P) combined with full confidentiality, integrity, and availability impact on both the vulnerable and subsequent system (VC/VI/VA and SC/SI/SA all High) reflects an XSS-to-RCE chain, which the 9.4 score captures. The practical gating factors are that the attacker needs low-privilege write access to inject the metadata and the victim must open a specific menu (UI:P), so this is not a spray-and-pray internet worm but a realistic threat in any shared, synced, or collaboratively edited SiYuan workspace - even a mid-sized municipal IT team in swidnica running shared notebooks should treat this as urgent because a single poisoned field can compromise every operator who views it. No EPSS score, KEV entry, or confirmed public POC was provided, so exploitation is currently theoretical-but-credible rather than observed in the wild; the absence of a KEV listing should not lower urgency given the RCE outcome and the low attack complexity. Overall this is a real priority to patch, not a high-CVSS-but-low-real-risk finding. |
| Exploit ScenarioDerived | In a shared or synced SiYuan workspace, a low-privileged attacker creates or edits a database field and sets its name or description to markup that closes the surrounding element and attaches a malicious event handler. When a teammate later opens the group, view, or field-edit menu for that database, the injected handler executes and, thanks to Electron's insecure configuration, invokes Node.js APIs to run arbitrary commands on the victim's machine. No public POC has been identified, but the attack complexity is low. |
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 before v3.7.4 escalates to remote code execution because the desktop client renders database menu metadata (group, view, and field-edit menus) through unsafe HTML interpolation. An attacker who can set a database field name or description injects markup that closes the containing element and fires an event handler; when a victim opens the affected menu, the script runs with Node.js built-ins available due to Electron being configured without sandboxing/context isolation. No public exploit has been identified at time of analysis, and the issue is not listed in CISA KEV.
RemediationAI
Vendor-released patch: upgrade to SiYuan v3.7.4 or later, which properly escapes database menu metadata during HTML interpolation; this is the primary and complete fix. Until the upgrade is applied, reduce exposure by not opening group, view, or field-edit menus on databases sourced from untrusted parties, and avoid importing or syncing notebooks/databases from untrusted origins, since the payload triggers when the affected menu is rendered (trade-off: this disrupts normal collaborative and shared-workspace workflows). For shared or multi-user deployments, restrict who can create or edit database field names and descriptions to trusted users as a compensating control. Refer to the GitHub advisory (GHSA-gcm3-qcq3-72rv) and the VulnCheck advisory for authoritative details.
Affected ProductsAI
SiYuan desktop (Electron) note-taking application, all versions before v3.7.4, is affected; the flaw is fixed in v3.7.4. No CPE string was provided in the intelligence, so the exact platform enumeration is not independently confirmed, though SiYuan ships cross-platform (Windows, macOS, Linux) Electron builds. Vendor and researcher advisories are available at the GitHub Security Advisory (https://github.com/siyuan-note/siyuan/security/advisories/GHSA-gcm3-qcq3-72rv) and VulnCheck (https://www.vulncheck.com/advisories/siyuan-before-remote-code-execution-via-menu-metadata).
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 local-first, Electron-based personal knowledge-management and note-taking application whose database blocks support user-defined fields, views, and groupings. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation): field names and descriptions are stored verbatim and later concatenated into menu HTML without escaping, so attacker-controlled values are parsed as markup rather than text. Because the renderer runs in an Electron context with insecure settings (effectively nodeIntegration enabled and/or contextIsolation disabled), a successful DOM-based script injection is not confined to the page - it can reach Node.js primitives (e.g., child_process/require), turning a classic stored XSS 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 write access (PR:L) and victim must open the menu (UI:R); the XSS escaping Electron to Node execution is a scope change (S:C) yielding full C/I/A impact.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
DescriptionCVE.org
SiYuan before v3.7.4 fails to properly escape database menu metadata in HTML interpolation, allowing stored values to execute script when users open group, view, or field-edit menus. Attackers can inject markup through field descriptions or names that close containing elements and execute arbitrary code via event handlers, reaching Node built-ins due to Electron's insecure configuration.
Executive ViewAI
SiYuan desktop application contains a critical vulnerability enabling remote code execution through database manipulation, creating enterprise-wide risk of system compromise and data breach. While not yet publicly exploited, the vulnerability threatens all desktop users and requires immediate containment pending patch availability. Absence of vendor-released patch creates urgent operational risk requiring protective action within 24 hours.
Restrict database field-name and field-description editing to a minimal set of trusted administrative accounts; implement network segmentation to isolate SiYuan desktop systems from production environments and sensitive data repositories; deploy host-based intrusion detection configured to alert on shell commands or binary execution initiated by the SiYuan process; audit existing database field metadata for suspicious content that could trigger the vulnerability; require multi-factor authentication for accounts with database editing privileges; and conduct user awareness training to avoid opening untrusted database files or accepting field-editing changes from external sources.
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