SCA: security update for github.com/siyuan-note/siyuan/kernel (GHSA-4663-4mpg-879v)

medium Tenable Cloud Security Plugin ID 438948

Description

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

- SiYuan is a personal knowledge management system. In versions 3.6.0 and below, the backend renderREADME
function uses lute.New() without calling SetSanitize(true), allowing raw HTML embedded in Markdown to pass
through unmodified. The frontend then assigns the rendered HTML to innerHTML without any additional
sanitization. A malicious package author can embed arbitrary JavaScript in their README that executes when
a user clicks to view the package details. Because SiYuan's Electron configuration enables
nodeIntegration: true with contextIsolation: false, this XSS escalates directly to full Remote Code
Execution. The issue was patched in version 3.6.1. (CVE-2026-33066)

Solution

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

See Also

https://github.com/advisories/GHSA-4663-4mpg-879v

Plugin Details

Severity: Medium

ID: 438948

Version: Revision 1.10

Type: Local

Family: SCA Checks

Published: 3/18/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.05

Vendor

Vendor Severity: Medium

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-33066

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

CVSS v4

Risk Factor: Medium

Base Score: 5.3

Threat Score: 5.3

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/18/2026

Vulnerability Publication Date: 3/18/2026

Reference Information

CVE: CVE-2026-33066

cwe: CWE-79