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.
Published: 2026-07-27
Score: 9.4 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Tue, 28 Jul 2026 02:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 28 Jul 2026 01:30:00 +0000

Type Values Removed Values Added
First Time appeared B3log
B3log siyuan
CPEs cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*
Vendors & Products B3log
B3log siyuan

Mon, 27 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
First Time appeared Siyuan
Siyuan siyuan
Vendors & Products Siyuan
Siyuan siyuan

Mon, 27 Jul 2026 16:15:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-28T01:06:32.165Z

Reserved: 2026-07-26T12:22:34.139Z

Link: CVE-2026-66395

cve-icon Vulnrichment

Updated: 2026-07-27T16:23:18.227Z

cve-icon NVD

Status : Deferred

Published: 2026-07-27T16:18:12.083

Modified: 2026-07-28T16:07:15.840

Link: CVE-2026-66395

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T17:15:12Z

Weaknesses
  • CWE-79

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