Arbitrary Code Injection Affecting github.com/siyuan-note/siyuan/kernel/model 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.36% (27th 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-GITHUBCOMSIYUANNOTESIYUANKERNELMODEL-15922501
  • published7 Apr 2026
  • disclosed1 Apr 2026
  • creditNgocnn97

Introduced: 1 Apr 2026

CVE-2026-34585  (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/model to version 3.6.2 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Injection through the escapeNodeAttributeValues process. An attacker can execute arbitrary operating system commands by crafting a malicious .sy.zip file containing specially formatted block attribute values, which, when imported and opened, injects JavaScript that runs with Node/Electron privileges.

PoC

"title": "&amp;\" onmouseenter=\"require('child_process').exec('calc')"

CVSS Base Scores

version 4.0
version 3.1