Description (CNA)
SiYuan versions before v3.8.4 contain a path traversal vulnerability in the exportBrowserHTML endpoint that allows authenticated administrators to write arbitrary HTML content to index.html outside the workspace directory. Attackers can supply a folder parameter with directory traversal sequences to escape the export directory and overwrite index.html in any pre-existing kernel-writable location, enabling stored XSS or workspace defacement.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| siyuan-note / siyuan | affected 0 before 3.8.4; unaffected 3.8.4 |
CWE
CWE-22
References
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-jf98-m24w-gm9m
- https://www.vulncheck.com/advisories/siyuan-before-3.8.4-path-traversal-via-exportbrowserhtml-folder
ADP enrichment
No English description supplied.