SCA: security update for github.com/siyuan-note/siyuan/kernel (GHSA-73g7-86qr-jrg3)

high Tenable Self-Hosted Container Security Plugin ID 439498

Description

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

- SiYuan is a personal knowledge management system. From version 3.6.0 to before version 3.6.2, the
SanitizeSVG function introduced in version 3.6.0 to fix XSS in the unauthenticated
/api/icon/getDynamicIcon endpoint can be bypassed by using namespace-prefixed element names such as
<x:script xmlns:x="http://www.w3.org/2000/svg">. The Go HTML5 parser records the element's tag as
"x:script" rather than "script", so the tag check passes it through. The SVG is served with Content-Type:
image/svg+xml and no Content Security Policy; when a browser opens the response directly, its XML parser
resolves the prefix to the SVG namespace and executes the embedded script. This issue has been patched in
version 3.6.2. (CVE-2026-34605)

Solution

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

See Also

https://github.com/advisories/GHSA-73g7-86qr-jrg3

Plugin Details

Severity: High

ID: 439498

Version: Revision 1.6

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: Low

Score: 2.3

Percentile: 9.42

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 5

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

CVSS Score Source: CVE-2026-34605

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/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: High

Base Score: 8.6

Threat Score: 7.2

Threat Vector: CVSS:4.0/E:P

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

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

cwe: CWE-79