CVE-2026-100636
Deferred Deferred - Pending Action

SiYuan Path Traversal in Export Function Leading to Stored XSS

Vulnerability report for CVE-2026-100636, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-26

Last updated on: 2026-09-26

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-26
Last Modified
2026-09-26
Generated
2026-09-26
AI Q&A
2026-09-26
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
siyuan siyuan to 3.8.4 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a path traversal flaw in SiYuan versions before v3.8.4. It exists in the exportBrowserHTML endpoint and allows authenticated administrators to write arbitrary HTML content to index.html outside the workspace directory. Attackers can use directory traversal sequences in the folder parameter to escape the export directory and overwrite index.html in any kernel-writable location, potentially enabling stored XSS or workspace defacement.

Detection Guidance

Check SiYuan versions before 3.8.4 for the exportBrowserHTML endpoint. Look for suspicious file writes outside workspace directories, especially index.html. Monitor logs for directory traversal patterns like ../../../../ in folder parameters.

Impact Analysis

This vulnerability can lead to stored cross-site scripting (XSS) attacks if the overwritten index.html is served. It may also allow workspace defacement by replacing the index.html file with malicious content. The impact is limited to kernel-writable locations, meaning only directories accessible by the SiYuan kernel can be affected.

Mitigation Strategies

Upgrade SiYuan to version 3.8.4 or later. Restrict write permissions to kernel-writable locations. Implement input validation to block path traversal sequences in the folder parameter. Disable the exportBrowserHTML endpoint if not needed.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-100636. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart