Description
SiYuan is a personal knowledge management system. In versions prior to 3.5.4, the markdown feature allows unrestricted server side html-rendering which allows arbitrary file read (LFD). Version 3.5.4 fixes the issue.
Problem types
CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
References
github.com/...siyuan/security/advisories/GHSA-cv54-7wv7-qxcw
github.com/siyuan-note/siyuan/issues/16860
github.com/...ommit/b2274baba2e11c8cf8901b0c5c871e5b27f1f6dd
github.com/...ommit/f8f4b517077b92c90c0d7b51ac11be1b34b273ad
github.com/...n-note/siyuan/blob/master/kernel/model/file.go
github.com/...note/siyuan/blob/v3.4.2/kernel/api/filetree.go