PT-2026-29381 · Siyuan · Siyuan
Ngocnn97
·
Publicado
2026-03-31
·
Atualizado
2026-04-01
·
CVE-2026-34453
CVSS v3.1
7.5
Alta
| Vetor | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
SiYuan versions prior to 3.6.2
Description
The publish service in SiYuan allows unauthenticated visitors to access bookmarked blocks from password-protected documents. This occurs because the
/api/bookmark/getBookmark endpoint, when operating in publish/read-only mode, calls the FilterBlocksByPublishAccess(nil, ...) function. Passing nil as the context bypasses the password check, allowing access to content from protected documents if at least one block within those documents is bookmarked. The vulnerable code path resides within the kernel/api/bookmark.go file, specifically in the getBookmark function, and the FilterBlocksByPublishAccess function in kernel/model/publish access.go. The issue stems from treating a nil context as authorized, effectively bypassing the intended password enforcement.Recommendations
Versions prior to 3.6.2: Upgrade to version 3.6.2 or later to resolve this issue.
Exploit
Correção
Incorrect Authorization
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Enumeração de Fraquezas
Identificadores relacionados
Produtos afetados
Siyuan