CVE-2026-66395

SiYuan Desktop before v3.7.2 Reflected XSS to RCE via siyuan Protocol

Published Jul 27, 2026 CVSS 4.0 · 9.4 Critical EPSS < 1% KEV · Not listed
Description
SiYuan desktop before v3.7.2 contains a reflected cross-site scripting vulnerability in the bazaar plugin readme handler that allows attackers to execute arbitrary code by crafting a malicious siyuan:// deep link. Attackers can inject HTML payloads via the plugin name parameter that execute with full Node.js access through insertAdjacentHTML rendering in an insecurely configured Electron renderer.

Analysis

AI-generated

Technical impact

A reflected cross–site scripting flaw exists in the bazaar plugin readme handler of SiYuan Desktop versions earlier than 3.7.2. An attacker can supply a specially crafted siyuan:// deep link that embeds malicious HTML in the plugin name parameter. When a user opens the link, the Electron renderer executes the payload via insertAdjacentHTML, granting full Node.js privileges and allowing arbitrary code execution. The vulnerability is classified as CWE–79 and permits remote exploitation without authentication.

Affected Systems

The flaw affects the SiYuan Desktop application developed by siyuan-note. All releases prior to version 3.7.2 are vulnerable; the issue resides in the bazaar plugin bundled with the product. No specific operating system mention is given, so any platform where the desktop client runs is at risk.

Risk and Exploitability

The CVSS score of 9.4 indicates critical severity. The EPSS score of < 1% indicates a very low probability of exploitation, although the KEV listing is not present, suggesting no known exploitation yet. Attackers only need to entice a user to open a crafted siyuan:// link; no additional privileges are required. Once executed, the code runs with full application‑level privileges, creating a substantial risk for confidentiality, integrity, and availability.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to SiYuan Desktop version 3.7.2 or later to remove the vulnerable handler.
  • Disable or uninstall the bazaar plugin until the official fix is applied.
  • Avoid opening untrusted siyuan:// links from unknown sources; restrict deep‑link usage to trusted contexts.

Generated by OpenCVE AI on August 3, 2026 at 17:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared B3log
B3log siyuan
CPEs cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*
Vendors & Products B3log
B3log siyuan
Type Values Removed Values Added
First Time appeared Siyuan
Siyuan siyuan
Vendors & Products Siyuan
Siyuan siyuan
Type Values Removed Values Added
Description SiYuan desktop before v3.7.2 contains a reflected cross-site scripting vulnerability in the bazaar plugin readme handler that allows attackers to execute arbitrary code by crafting a malicious siyuan:// deep link. Attackers can inject HTML payloads via the plugin name parameter that execute with full Node.js access through insertAdjacentHTML rendering in an insecurely configured Electron renderer.
Title SiYuan Desktop before v3.7.2 Reflected XSS to RCE via siyuan Protocol
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 9.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.4, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Sep 17, 2026, 5:54 PM
Reserved
Jul 26, 2026, 12:22 PM
Status
Deferred
Published
Jul 27, 2026, 4:18 PM
Modified
Oct 24, 2026, 1:10 PM