Description
SiYuan versions 3.7.0 before 3.8.4 contain a stored cross-site scripting vulnerability in gallery and kanban database renderers where field descriptions are not escaped in aria-label attributes. In the Electron desktop app with nodeIntegration enabled, attackers can inject JavaScript that calls Node.js child_process APIs to execute arbitrary commands with user privileges.
Published: 2026-09-26
Score: 8.6 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

The vulnerability is a stored cross‑site scripting flaw in SiYuan’s gallery and kanban database renderers, where field descriptions are not escaped in aria‑label attributes. An attacker can inject JavaScript that runs when these components are rendered. With the Electron desktop app running with nodeIntegration enabled, the injected script can invoke Node.js child_process APIs, allowing the attacker to execute arbitrary commands with the privileges of the application’s user.

Affected Systems

SiYuan Note‑taking application, versions 3.7.0 through 3.8.3 (all releases before 3.8.4). The product is identified by the vendor siyuan‑note.

Risk and Exploitability

The CVSS score of 8.6 indicates high severity and the lack of an EPSS score means the exploit probability is currently unknown. The vulnerability is not listed in the CISA KEV catalog, but the potential for arbitrary code execution via the vulnerable XSS path makes it a significant risk. Attackers only need to supply or place malicious content into a gallery or kanban entry that the affected user will view, after which the stored script can run with user privileges.

Generated by OpenCVE AI on September 26, 2026 at 16:30 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade SiYuan to version 3.8.4 or newer, which removes the vulnerability.
  • If an upgrade is not immediately possible, disable nodeIntegration in the Electron app configuration to prevent the injected JavaScript from accessing Node.js APIs.
  • Ensure that field descriptions in gallery and kanban renderers are properly escaped or sanitized to eliminate the XSS vector.
  • Monitor the application for anomalous activity and consider revoking or limiting user privileges that could be exploited if the vulnerability is triggered.

Generated by OpenCVE AI on September 26, 2026 at 16:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 03 Oct 2026 06:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Sat, 26 Sep 2026 23:00:00 +0000

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

Sat, 26 Sep 2026 13:30:00 +0000

Type Values Removed Values Added
Description SiYuan versions 3.7.0 before 3.8.4 contain a stored cross-site scripting vulnerability in gallery and kanban database renderers where field descriptions are not escaped in aria-label attributes. In the Electron desktop app with nodeIntegration enabled, attackers can inject JavaScript that calls Node.js child_process APIs to execute arbitrary commands with user privileges.
Title SiYuan 3.7.0 before 3.8.4 Stored XSS via Gallery Kanban
First Time appeared B3log
B3log siyuan
Weaknesses CWE-79
CPEs cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*
Vendors & Products B3log
B3log siyuan
References
Metrics cvssV3_1

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

cvssV4_0

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


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-08T15:51:27.580Z

Reserved: 2026-09-26T02:32:35.659Z

Link: CVE-2026-100645

cve-icon Vulnrichment

Updated: 2026-10-02T17:54:56.927Z

cve-icon NVD

Status : Deferred

Published: 2026-09-26T14:16:46.743

Modified: 2026-10-08T16:16:58.060

Link: CVE-2026-100645

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-26T22:28:41Z

Weaknesses
  • CWE-79

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