Description
SiYuan versions through 3.8.4 fail to enforce publish access control in the getDynamicIcon endpoint, allowing read-only token holders to access document metadata. Attackers can call the endpoint with type=8 and crafted content to read block titles, names, aliases, and hierarchical paths of restricted documents via template injection.
Severity (CVSS)
| Base score | 5.3 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-862 — Missing Authorization
Affected products
| Vendor | Product | Versions |
|---|---|---|
| siyuan-note | siyuan | 0 to <=3.8.4 |
References
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-whcx-xxqh-c838 (vendor-advisory)
- https://github.com/siyuan-note/siyuan (product)
- https://github.com/siyuan-note/siyuan/blob/v3.8.4/kernel/api/router.go#L51 (technical-description)
- https://github.com/siyuan-note/siyuan/blob/v3.8.4/kernel/model/template.go#L485-L526 (technical-description)
- https://github.com/siyuan-note/siyuan/blob/v3.8.4/kernel/api/icon.go#L546-L549 (technical-description)
- https://www.vulncheck.com/advisories/siyuan-through-3.8.4-access-control-bypass-via-dynamic-icon-endpoint (third-party-advisory)
Generated from the official CVE List on 19 Sep 2026 07:08 UTC.