SCA: security update for github.com/siyuan-note/siyuan/kernel (GHSA-8q5w-mmxf-48jg)

medium Tenable Self-Hosted Container Security Plugin ID 440376

Description

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

- SiYuan is an open-source personal knowledge management system. In versions 3.6.1 through 3.6.3, a prior
fix for XSS in bazaar README rendering (incomplete fix for CVE-2026-33066) enabled the Lute HTML
sanitizer, but the sanitizer does not block iframe tags, and its URL-prefix blocklist does not effectively
filter srcdoc attributes which contain raw HTML rather than URLs. A malicious bazaar package author can
include an iframe with a srcdoc attribute containing embedded scripts in their README. When other users
view the package in SiYuan's marketplace UI, the payload executes in the Electron context with full
application privileges, enabling arbitrary code execution on the user's machine. This issue has been fixed
in version 3.6.4. (CVE-2026-40922)

Solution

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

See Also

https://github.com/advisories/GHSA-8q5w-mmxf-48jg

Plugin Details

Severity: Medium

ID: 440376

Version: Revision 1.2

Type: Local

Family: SCA Checks

Published: 4/15/2026

Updated: 8/19/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 9.25

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.3

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

CVSS Score Source: CVE-2026-40922

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.9

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

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

CVSS v4

Risk Factor: Medium

Base Score: 5.3

Threat Score: 2.1

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: 4/14/2026

Vulnerability Publication Date: 4/14/2026

Reference Information

CVE: CVE-2026-40922

cwe: CWE-79