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.
References7
- github.com/siyuan-note/siyuan
- github.com/siyuan-note/siyuan/blob/v3.8.4/kernel/api/icon.go#L5…
- github.com/siyuan-note/siyuan/blob/v3.8.4/kernel/api/router.go#…
- github.com/siyuan-note/siyuan/blob/v3.8.4/kernel/model/template…
- github.com/siyuan-note/siyuan/security/advisories/GHSA-whcx-xxq…
- www.vulncheck.com/advisories/siyuan-through-3.8.4-access-contro…
- github.com/siyuan-note/siyuan/security/advisories/GHSA-whcx-xxq…
Metrics
- CVSS 3.1
-
4.3
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - CVSS 4.0
-
5.3
MEDIUM
Score source: CNA
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - EPSS — exploit probability
- 0% percentile: 32 · as of 8 November 2026
- CWE
- CWE-862
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.