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.
CVSS breakdown
CVSS 4.0
Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Confidentiality (Vulnerable System)
High
Integrity (Vulnerable System)
Low
Availability (Vulnerable System)
None
Confidentiality (Subsequent System)
None
Integrity (Subsequent System)
None
Availability (Subsequent System)
None
E
Physical
Affected products
- siyuan-note / siyuan< 3.5.4 – < 3.5.4
References
- VENDOR_ADVISORYhttps://github.com/siyuan-note/siyuan/security/advisories/GHSA-cv54-7wv7-qxcw
- MISChttps://github.com/siyuan-note/siyuan/issues/16860
- PATCHhttps://github.com/siyuan-note/siyuan/commit/b2274baba2e11c8cf8901b0c5c871e5b27f1f6dd
- PATCHhttps://github.com/siyuan-note/siyuan/commit/f8f4b517077b92c90c0d7b51ac11be1b34b273ad
- MISChttps://github.com/siyuan-note/siyuan/blob/master/kernel/model/file.go#L1035
- MISChttps://github.com/siyuan-note/siyuan/blob/v3.4.2/kernel/api/filetree.go#L799-L886