Description
SiYuan versions before v3.8.4 fail to properly escape four stored Attribute View values in textarea elements, allowing authenticated attackers to inject JavaScript by modifying field descriptions, template sources, select option descriptions, or footer calculation templates. Attackers can execute stored JavaScript when other users open affected database menus, and in the Electron desktop app with nodeIntegration enabled, this leads to command execution with SiYuan process privileges.
Published: 2026-09-26
Score: 8.5 High
EPSS: n/a
KEV: No
Impact: Stored Cross‑Site Scripting escalating to command execution in the desktop app
Action: Immediate Patch
AI Analysis

Impact

SiYuan versions before 3.8.4 fail to escape four stored Attribute View values placed inside textarea elements. This flaw allows an authenticated user to inject JavaScript by modifying field descriptions, template sources, select option descriptions, or footer calculation templates. When another user opens affected database menus, the injected script executes. In the Electron desktop client, when nodeIntegration is enabled, the script can be leveraged for arbitrary command execution with the privileges of the SiYuan process.

Affected Systems

Affected vendors and products include siyuan-note:siyuan. Any installation of SiYuan that is earlier than version 3.8.4 is vulnerable; no specific patch version is listed for the affected releases, but the issue is resolved in v3.8.4 and later.

Risk and Exploitability

The vulnerability can be exploited by any authenticated user with permission to modify the mentioned Attribute View values, which is typically a normal user role in many deployments. Although the EPSS score is not available, the CVSS score of 8.5 indicates a high severity. The flaw is not listed in CISA's KEV catalog, but the possibility of remote code execution in the desktop client elevates the risk for organizations using the Electron app with nodeIntegration enabled.

Generated by OpenCVE AI on September 26, 2026 at 15:09 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to SiYuan v3.8.4 or newer to obtain the vendor‑supplied fix.
  • If remediation is delayed, disable nodeIntegration in the Electron desktop client or run the application in a restricted mode to block potential command execution.
  • Remove or sanitize embedded Attribute View values that may contain user-generated content to mitigate the XSS vector until the official patch is applied.

Generated by OpenCVE AI on September 26, 2026 at 15:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

Type Values Removed Values Added
Description SiYuan versions before v3.8.4 fail to properly escape four stored Attribute View values in textarea elements, allowing authenticated attackers to inject JavaScript by modifying field descriptions, template sources, select option descriptions, or footer calculation templates. Attackers can execute stored JavaScript when other users open affected database menus, and in the Electron desktop app with nodeIntegration enabled, this leads to command execution with SiYuan process privileges.
Title SiYuan before v3.8.4 Stored XSS via Attribute View textarea
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.5, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-26T13:23:15.365Z

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

Link: CVE-2026-100643

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

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

Modified: 2026-09-26T14:16:46.540

Link: CVE-2026-100643

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-26T15:15:13Z

Weaknesses
  • CWE-79

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