Path Traversal in SiYuan Export Functionality
SiYuan versions prior to v3.8.4 are vulnerable to a path traversal attack via the exportBrowserHTML endpoint, allowing authenticated administrators to overwrite arbitrary index.html files.
CVE search metadata
CVE search record: CVE-2026-100636. Severity: high. CVSS: 7.6. KEV: no. Product: SiYuan (< 3.8.4), SiYuan (>= 2.1.0, < 3.8.4). Brief: Path Traversal in SiYuan Export Functionality. Brief link: https://feed.craftedsignal.io/briefs/2026-09-siyuan-path-traversal/
What's new
SiYuan versions prior to v3.8.4 contain a critical path traversal vulnerability in the exportBrowserHTML endpoint. This flaw allows an authenticated administrator to manipulate the folder parameter by including directory traversal sequences. By successfully exploiting this, an attacker can escape the restricted export directory and overwrite the index.html file in any location that the application kernel has write permissions to. This vulnerability poses a significant risk for stored Cross-Site Scripting (XSS) attacks or workspace defacement, as it allows the injection of arbitrary HTML content into the application environment. Defenders should prioritize updating to SiYuan v3.8.4 or later to mitigate this risk.
Impact
The vulnerability allows authenticated administrators to perform arbitrary file writes, leading to potential stored XSS or full application-level defacement. If compromised, an attacker could inject malicious scripts into the index.html file, which would then be executed in the context of other users or administrators accessing the application, facilitating further account takeover or malicious redirections.
Recommendation
- Upgrade all SiYuan installations to version v3.8.4 or later immediately.
- Audit web server logs for suspicious POST requests to the exportBrowserHTML endpoint containing path traversal characters like '../' or '..%2f'.
- Restrict administrative access to the SiYuan interface to trusted personnel to limit the attack surface for this authenticated vulnerability.
Immediate actions
Upgrade SiYuan to v3.8.4
Threat Hunt
Logs showing POST requests to /exportBrowserHTML with traversal sequences
Data: webserver logs
Mitigations
Upgrade to v3.8.4
CVE-2026-100636
Detection coverage 1
Detect CVE-2026-100636 Path Traversal Attempt
highDetects exploitation attempts against the SiYuan exportBrowserHTML endpoint using directory traversal sequences in the folder parameter.
Detection queries are available on the platform. Get full rules →