SiYuan CVE-2026-73053
CRITICALAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft document icon with hex-encoded markup
-
DeliveryDeliver malicious document to victim (share/sync/import)
-
ExploitVictim opens document, renderer parses icon
-
Executionunicode2Emoji emits unsanitized markup, XSS fires
-
PersistScript reaches Node APIs, spawns child_process
-
ImpactArbitrary code execution 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 SiYuan Electron renderer to be running with Node integration enabled (the condition that turns DOM XSS into host RCE) and requires a victim to open, import, or render a document whose icon carries attacker-crafted hex-encoded markup handled by the vulnerable unicode2Emoji codepoint branch in versions before v3.7.4. Limiting factors: the attack needs victim interaction (UI:P - the malicious document must be rendered), depends on the attacker being able to place a crafted icon into content the victim will open (e.g., a shared, imported, or synced document/workspace), and is closed by upgrading to v3.7.4 or by builds that disable Node integration. |
| Impact | The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H, base 9.4) reflects network reachability, low complexity, and total confidentiality/integrity/availability loss on both the vulnerable and a subsequent system - consistent with an XSS that escalates to RCE across the sandbox boundary. The one meaningful brake is UI:P: a victim must open or render the malicious document, so exploitation is not fully automatable and depends on social engineering or a shared/synced workspace. No EPSS score was provided, and there is neither KEV listing nor a published PoC, which lowers near-term mass-exploitation likelihood relative to the raw 9.4. Net assessment: a genuinely high-impact, low-complexity RCE that warrants prompt patching, but current real-world exploitation pressure appears low/targeted rather than widespread. Note a tension worth verifying: the vendor rates PR:L, yet delivering a malicious document to a victim typically needs no privileges on the target host - verify with the advisory whether collaborative/edit access is a true prerequisite. |
| Exploit ScenarioDerived | An attacker crafts a SiYuan document (or icon/template asset) whose document icon contains hex-encoded markup engineered to survive the unicode2Emoji codepoint conversion, then shares or syncs it to a target. When the victim opens the document, the markup renders in the Node-integrated Electron renderer and runs attacker JavaScript that invokes Node's child_process to execute commands on the host. No public exploit code is currently identified, and the attack requires the victim to render the malicious document (UI:P). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 15, 2026
Cross-site scripting leading to arbitrary code execution in SiYuan (self-hosted note-taking / knowledge-management app) before v3.7.4 lets an attacker embed hex-encoded markup inside a document icon that the vulnerable unicode2Emoji function renders without sanitization; because the Electron renderer runs with Node integration enabled, the injected script escapes the browser context and executes OS commands on the victim's host. Any user who opens or imports a crafted document is affected. There is no public exploit identified at time of analysis and it is not listed in CISA KEV, though a vendor GitHub security advisory (GHSA-vx5w-qrvp-mmcq) and a VulnCheck advisory document the flaw.
RemediationAI
Upgrade to SiYuan v3.7.4 or later, which sanitizes the unicode2Emoji codepoint branch output; this is the primary and recommended fix (Vendor-released patch: v3.7.4), per https://github.com/siyuan-note/siyuan/security/advisories/GHSA-vx5w-qrvp-mmcq. Until the upgrade is applied, do not open or import documents, templates, or icon assets from untrusted sources, and be cautious with shared or synced workspaces where another party can set document icons, since that is the injection vector; the trade-off is reduced collaboration/import convenience. Operators building or repackaging the app can further contain impact by disabling Node integration and enabling contextIsolation in the Electron renderer, which would neutralize the escalation to host code execution, but this may break app features that rely on Node APIs and should be tested. Block or scrutinize inbound document-sharing channels where feasible.
Affected ProductsAI
SiYuan (siyuan-note/siyuan), the open-source personal knowledge-management/note-taking application, in all versions before v3.7.4; the fix is in v3.7.4 and later. No CPE string was provided in the input. The authoritative sources are the vendor GitHub Security Advisory at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-vx5w-qrvp-mmcq and the VulnCheck advisory at https://www.vulncheck.com/advisories/siyuan-before-cross-site-scripting-via-unicode2emoji.
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 an Electron-based desktop knowledge-management application; Electron bundles a Chromium renderer with a Node.js runtime. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation): the unicode2Emoji helper converts emoji/icon codepoints to displayable markup and, in its codepoint branch, emits attacker-controlled hex-encoded content directly into the DOM without HTML encoding. In a hardened Electron app this would be a contained DOM XSS, but here the renderer has Node integration enabled (nodeIntegration/contextIsolation not locked down), so injected JavaScript can reach Node APIs such as child_process and pivot from script injection to full host command 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
Malicious document is delivered remotely and needs no target-host privileges (PR:N) but requires the victim to render it (UI:R); Node-integration escape crosses the sandbox (S:C) for full C/I/A host impact; vendor rated PR:L, noted as uncertain.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
DescriptionCVE.org
SiYuan versions before v3.7.4 contain a cross-site scripting vulnerability in the unicode2Emoji function that fails to sanitize codepoint branch output. Attackers can craft document icons with hex-encoded markup that executes in the renderer with Node integration enabled, achieving arbitrary code execution on the host system.
Executive ViewAI
SiYuan, a self-hosted note-taking application, contains CVE-2026-73053, a critical remote code execution vulnerability (CVSS 9.4) affecting all versions prior to 3.7.4. No public exploit has been identified, but the vulnerability enables arbitrary OS command execution on any user's machine when they open or import specially crafted documents, creating significant risk of system compromise and data exfiltration. Organizations deploying SiYuan must upgrade immediately to protect against this high-impact threat.
Apply vendor patch (SiYuan v3.7.4 or later).
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
VulDB
Exploit-DB