CVE-2026-50551
Deferred Deferred - Pending Action

Stored XSS in SiYuan Prior to 3.7.0

Vulnerability report for CVE-2026-50551, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-06-24

Last updated on: 2026-06-25

Assigner: GitHub, Inc.

Description

SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, SiYuan contains a stored cross-site scripting (XSS) vulnerability in the Attribute View (database) asset cell renderer that escalates to remote code execution (RCE) in the Electron desktop client. This vulnerability is fixed in 3.7.0.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-06-24
Last Modified
2026-06-25
Generated
2026-07-15
AI Q&A
2026-06-25
EPSS Evaluated
2026-07-13
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
si_yuan si_yuan to 3.7.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

The vulnerability exists in SiYuan, an open-source personal knowledge management system, specifically in versions prior to 3.7.0. It is a stored cross-site scripting (XSS) vulnerability located in the Attribute View (database) asset cell renderer. This XSS vulnerability can escalate to remote code execution (RCE) within the Electron desktop client used by SiYuan.

Impact Analysis

This vulnerability can have severe impacts as it allows an attacker to execute arbitrary code remotely on the affected system. Because it escalates from a stored XSS to remote code execution in the Electron desktop client, an attacker could potentially take full control of the user's system, leading to data theft, system compromise, or further attacks.

Mitigation Strategies

To mitigate this vulnerability, you should upgrade SiYuan to version 3.7.0 or later, as this version contains the fix for the stored cross-site scripting (XSS) vulnerability that leads to remote code execution (RCE).

Compliance Impact

The vulnerability in SiYuan allows remote code execution through stored cross-site scripting, which can lead to unauthorized access and control over the affected system.

Such a critical security flaw with high impact on confidentiality, integrity, and availability could result in violations of common standards and regulations like GDPR and HIPAA, which require protection of sensitive data and secure system operations.

Exploitation of this vulnerability could lead to data breaches or unauthorized data manipulation, thereby affecting compliance with these regulations.

Detection Guidance

This vulnerability can be detected by identifying if your SiYuan installation is running a version prior to 3.7.0, as those versions contain the stored XSS vulnerability in the Attribute View asset cell renderer.

To detect potential exploitation attempts or presence of malicious payloads, you can search for suspicious notes or database entries containing HTML with embedded JavaScript payloads, such as <img> tags with onerror attributes invoking Node.js commands.

Since the vulnerability involves stored XSS that triggers on page load or hover, monitoring logs for unusual Electron client behavior or unexpected child process executions may help.

Specific commands to detect vulnerable versions or suspicious payloads might include:

  • Check SiYuan version installed: `siyuan --version` or check the application UI for version info.
  • Search for suspicious payloads in notes or database files (example using grep): `grep -r "<img src=x onerror" /path/to/siyuan/data`
  • Monitor running Electron processes for unexpected child process executions (example using system audit or process monitoring tools).

Long-term mitigation includes upgrading to SiYuan 3.7.0 or later and ensuring Electron is configured with `contextIsolation: true` and `nodeIntegration: false`.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-50551. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart