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.
https://www.vulncheck.com/advisories/siyuan-before-3.8.4-path-traversal-via-exportbrowserhtml-folder
https://github.com/siyuan-note/siyuan/security/advisories/GHSA-jf98-m24w-gm9m
Published: 2026-09-26
Updated: 2026-09-28
Base Score: 6.8
Vector: CVSS2#AV:N/AC:L/Au:M/C:N/I:C/A:P
Severity: Medium
Base Score: 7.6
Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:L
Severity: High
Base Score: 8.3
Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:L/SC:N/SI:H/SA:L
Severity: High
EPSS: 0.00616