Description
SiYuan's development branch (endpoint introduced by commit 9b8e8956f, not present in v3.7.3 or master, patched in v3.7.4-alpha.3) contains a missing-authorization vulnerability in the /api/av/getAttributeViewSearchTarget endpoint. The route is registered with CheckAuth only and performs no authorization checks (no CheckReadonly, no publish-access or encrypted-notebook gating). Given a database identifier taken from a published page and a keyword, an anonymous reader can query the endpoint to retrieve matching database row content, including rows that publish filters (FilterAttributeViewByPublishAccess) would otherwise withhold. No released stable version is affected.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| siyuan-note | siyuan | 3.7.4-alpha.2 – < 3.7.4-alpha.3 | 3.7.4-alpha.3 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/siyuan-note/siyuan/kernel | >= 0.0.0-20260726161145-9b8e8956f997, < 0.0.0-20260812083335-251596fc0de2 | 0.0.0-20260812083335-251596fc0de2 | GHSA-9cqf-hhrq-7v45 |
References
- GitHub Security Advisory (GHSA-9cqf-hhrq-7v45) vendor-advisory
- VulnCheck Advisory: SiYuan v3.7.4-alpha.2 Authorization Bypass via getAttributeViewSearchTarget third-party-advisory