Arbitrary Code Injection Affecting github.com/siyuan-note/siyuan/kernel/sql package, versions <3.6.2


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.49% (39th 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 Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMSIYUANNOTESIYUANKERNELSQL-15922423
  • published7 Apr 2026
  • disclosed31 Mar 2026
  • creditNgocnn97

Introduced: 31 Mar 2026

CVE-2026-34448  (opens in a new tab)
CWE-79  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade github.com/siyuan-note/siyuan/kernel/sql to version 3.6.2 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Injection in the process that renders the Gallery or Kanban view when a malicious URL is stored in the mAsset field and used as a cover image. An attacker can execute arbitrary operating system commands under the victim's user account by injecting JavaScript code that is executed when the victim opens the affected view in the Electron desktop client.

Note:

This is only exploitable if the desktop client is configured with nodeIntegration enabled and contextIsolation disabled.

PoC

https://example.com/" onerror="require('child_process').exec('calc')

CVSS Base Scores

version 4.0
version 3.1