Skip to main content

SiYuan CVE-2026-73053

CRITICAL
Cross-site Scripting (XSS) (CWE-79)
2026-08-15 disclosure@vulncheck.com
9.4
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Craft document icon with hex-encoded markup
  2. Delivery
    Deliver malicious document to victim (share/sync/import)
  3. Exploit
    Victim opens document, renderer parses icon
  4. Execution
    unicode2Emoji emits unsanitized markup, XSS fires
  5. Persist
    Script reaches Node APIs, spawns child_process
  6. Impact
    Arbitrary 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).

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

Vendor (vulncheck) PRIMARY 9.4 CRITICAL
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
vuln.today AI 9.6 CRITICAL

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

Apply vendor patch (SiYuan v3.7.4 or later).

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Low
niche open-source self-hosted note-taking app, limited enterprise footprint
Social Media
2
Sightings
Data Quality
6 sources
Confidence: High
NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

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

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy