Insecure Default Initialization of Resource Affecting github.com/siyuan-note/siyuan/kernel/api package, versions <3.7.0-beta.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.54% (44th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMSIYUANNOTESIYUANKERNELAPI-17950969
  • published11 Jul 2026
  • disclosed10 Jul 2026
  • creditUnknown

Introduced: 10 Jul 2026

CVE-2026-54067  (opens in a new tab)
CWE-1188  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade github.com/siyuan-note/siyuan/kernel/api to version 3.7.0-beta.1 or higher.

Overview

Affected versions of this package are vulnerable to Insecure Default Initialization of Resource via the renderSnippet process. An attacker can execute arbitrary JavaScript code and potentially achieve remote code execution by injecting a crafted CSS snippet containing a </style> tag followed by malicious HTML or JavaScript payloads, which are then interpreted by the renderer. This can lead to code execution on Electron desktop builds where nodeIntegration is enabled, allowing access to Node.js APIs. The attack can be triggered automatically when the application loads or refreshes snippets, without user interaction, and can propagate to all devices syncing the same workspace.

CVSS Base Scores

version 4.0
version 3.1