SCA: security update for github.com/siyuan-note/siyuan/kernel (GHSA-ff66-236v-p4fg)

high Tenable Cloud Security Plugin ID 439508

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 version 3.6.2, a vulnerability allows crafted
block attribute values to bypass server-side attribute escaping when an HTML entity is mixed with raw
special characters. An attacker can embed a malicious IAL value inside a .sy document, package it as a
.sy.zip, and have the victim import it through the normal Import -> SiYuan .sy.zip workflow. Once the note
is opened, the malicious attribute breaks out of its original HTML context and injects an event handler,
resulting in stored XSS. In the Electron desktop client, this XSS reaches remote code execution because
injected JavaScript runs with access to Node/Electron APIs. This issue has been patched in version 3.6.2.
(CVE-2026-34585)

Solution

Update the github.com/siyuan-note/siyuan/kernel library and its related packages to version 0.0.0-20260329142331-918d1bd9f967 or later.

See Also

https://github.com/advisories/GHSA-ff66-236v-p4fg

Plugin Details

Severity: High

ID: 439508

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 4/1/2026

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: High

Score: 7.7

Percentile: 99.07

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

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

CVSS Score Source: CVE-2026-34585

CVSS v3

Risk Factor: High

Base Score: 8.2

Temporal Score: 7.4

Vector: CVSS:3.0/AV:L/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/1/2026

Vulnerability Publication Date: 3/31/2026

Reference Information

CVE: CVE-2026-34585