Stored XSS in SiYuan table captions leads to code execution
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-94.
Summary
SiYuan before 3.8.10 saves a table block's caption attribute into IAL properties without HTML sanitization. An attacker can inject an entity-encoded caption with an onerror handler that runs during import or sync, which causes stored cross-site scripting. The script runs in the Electron client with nodeIntegration enabled, so it can execute code on the host (CWE-94). Exploitation requires user interaction, and the sources do not list it in CISA KEV or link a public exploit.
Written with Claude Haiku 5.5 from the sources below · 2026-11-18
Description from the CNA
SiYuan before 3.8.10 persists a table block's caption attribute into IAL properties without HTML sanitization, causing stored cross-site scripting upon import or sync. Attackers can inject an entity-encoded caption with an onerror handler that executes in the Electron client's nodeIntegration context to achieve remote code execution.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| siyuan-note | siyuan | before 3.8.10 | 3.8.10 | Patch available | CNA |
- siyuan Vendorsiyuan-note Affected before 3.8.10 Fixed in 3.8.10 Patch available CNA
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:* | — | — | siyuan-note |
- cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:* Versions — — ·siyuan-note
Remediation
Upgrade siyuan-note SiYuan to version 3.8.10.
Written with Claude Haiku 5.5 from the sources below · 2026-11-18
- Fix · CNA siyuan (siyuan-note) Fixed in 3.8.10
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
siyuan-note siyuan 3.8.10
6 records Highest priority Priority HIGH 4 HIGH, 2 MEDIUM
Other records, highest priority first
- TI-2026-93815 Stored XSS in SiYuan Attribute View image src enables code executionPriority HIGH 76
- TI-2026-93814 Stored cross-site scripting in SiYuan leads to code executionPriority HIGH 76
- TI-2026-93819 Path traversal in SiYuan lets administrators write files outside the workspacePriority HIGH 75
Timeline
- 2026-11-18 Threatist record created from CVE-2026-130682
- 2026-11-18 Alias added: GHSA-rj95-hhvp-q9jp
- 2026-11-18 CISA SSVC decision points changed
- 2026-11-25 EPSS moved to the below the 50th percentile
References
More siyuan-note vulnerabilities
- TI-2026-48492 SiYuan before v3.7.3 SQL Injection via searchDocs CVSS 4.0CRITICAL 9.9
- TI-2026-48491 SiYuan before v3.7.3 SQL Injection via searchEmbedBlock CVSS 4.0CRITICAL 9.9
- TI-2026-48490 SiYuan before v3.7.3 SQL Injection via fullTextSearchAssetContent CVSS 4.0CRITICAL 9.9
- TI-2026-47010 SiYuan before v3.7.2 Unauthenticated Administrator Takeover via MCP CVSS 4.0CRITICAL 10.0
- TI-2026-26050 SiYuan has directory traversal within its publishing service CVSS 3.1CRITICAL 9.8
- TI-2026-25256 SiYuan: Authorization Bypass Allows Arbitrary SQL Execution via Search API CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-130682 · CVE Program
- CVE-2026-130682 · NVD
- FIRST EPSS
- GHSA-rj95-hhvp-q9jp · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences