Description
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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| siyuan-note | siyuan | < 3.8.4 | 3.8.4 |
References
- GitHub Security Advisory (GHSA-jf98-m24w-gm9m) vendor-advisory
- VulnCheck Advisory: SiYuan before v3.8.4 Path Traversal via exportBrowserHTML folder third-party-advisory