Skip to main content

SiYuan CVE-2026-73052

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
    Gain field-edit access to shared workspace
  2. Delivery
    Rename database field to XSS payload
  3. Exploit
    Victim opens attribute-view sort menu
  4. Execution
    innerHTML injects markup, script runs
  5. Persist
    Node integration executes OS command
  6. Impact
    Attacker 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.

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

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

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.0 CRITICAL

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.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/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 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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.3%
Top 77% exploitable
Prevalence
Medium
popular open-source note app, sizable but non-ubiquitous desktop install base
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium

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