Skip to content
DayZeroHub
Critical CVSS 9.4CVE-2026-130682

SiYuan before 3.8.10: Stored XSS Can Lead to Remote Code Execution via Table Caption

siyuan-note siyuan

Summary

SiYuan versions before 3.8.10 do not sanitize HTML in a table block's caption attribute, allowing stored XSS on import or sync. In the Electron client, this can lead to remote code execution.

What happened

SiYuan persists a table block's caption attribute into IAL properties without HTML sanitization. This causes stored cross-site scripting when content is imported or synced. According to the description, an attacker can inject an entity-encoded caption with an onerror handler that runs in the Electron client's nodeIntegration context, enabling remote code execution. The weakness is classified as CWE-94. The identifier is CVE-2026-130682.

Why it matters

The source assigns a CVSS 4.0 score of 9.4 (critical severity; vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H, per CNA:VulnCheck). The vector indicates user interaction is required. According to CISA's KEV catalog, active exploitation of this vulnerability is not recorded. The source does not state that this is a zero-day.

Affected products and versions

siyuan (vendor: siyuan-note): versions before 3.8.10 (< 3.8.10). Version 3.8.10 is listed as unaffected.

ProductVersionsFixed in
siyuan-note siyuan< 3.8.10—
siyuan-note siyuan3.8.103.8.10

Action recommended by the source

The source indicates that version 3.8.10 fixes the issue. The vendor advisory is available at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-v92g-4rrc-c6wv. The source does not mention other mitigations.

Fixed in: 3.8.10

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-94

Relevant change history

  1. Published

    Advisory published.

Summary written with AI assistance from the source data. See the sources and references for complete information. View sources