SCA: security update for github.com/siyuan-note/siyuan/kernel (GHSA-phhp-9rm9-6gr2)

critical Tenable Cloud Security Plugin ID 440072

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- SiYuan is a personal knowledge management system. Prior to 3.6.4, a malicious note synced to another user
can trigger remote code execution in the SiYuan Electron desktop client. The root cause is that table
caption content is stored without safe escaping and later unescaped into rendered HTML, creating a stored
XSS sink. Because the desktop renderer runs with nodeIntegration enabled and contextIsolation disabled,
attacker-controlled JavaScript executes with access to Node.js APIs. In practice, an attacker can import a
crafted note into a synced workspace, wait for the victim to sync, and achieve code execution when the
victim opens the note. This vulnerability is fixed in 3.6.4. (CVE-2026-39846)

Solution

Update the github.com/siyuan-note/siyuan/kernel library and its related packages to version 0.0.0-20260407035653-2f416e5253f1 or later.

See Also

https://github.com/advisories/GHSA-phhp-9rm9-6gr2

Plugin Details

Severity: Critical

ID: 440072

Version: Revision 1.8

Type: Local

Family: SCA Checks

Published: 4/8/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: High

Score: 7

Percentile: 98.33

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2026-39846

CVSS v3

Risk Factor: Critical

Base Score: 9

Temporal Score: 8.1

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/8/2026

Vulnerability Publication Date: 4/7/2026

Reference Information

CVE: CVE-2026-39846