Description
SiYuan is a personal knowledge management system. Prior to 3.6.1, POST /api/template/renderSprig lacks model.CheckAdminRole, allowing any authenticated user to execute arbitrary SQL queries against the SiYuan workspace database and exfiltrate all note content, metadata, and custom attributes. This vulnerability is fixed in 3.6.1.
Problem types
CWE-285: Improper Authorization
CWE-732: Incorrect Permission Assignment for Critical Resource
Product status
References
github.com/...siyuan/security/advisories/GHSA-4j3x-hhg2-fm2x