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

SiYuan before 3.8.10: Stored XSS That Can Lead to Code Execution (CVE-2026-130678)

siyuan-note siyuan

Summary

SiYuan versions before 3.8.10 contain a stored cross-site scripting vulnerability in Attribute View column names that can lead to code execution on the desktop app. The CVSS 4.0 score is 9.4 (critical).

What happened

According to the description, SiYuan renders Attribute View column names unescaped in col.ts. An attacker can store malicious HTML in those names via addAttributeViewKey, .sy.zip import, or sync. When a victim adds or duplicates the column, insertAdjacentHTML runs JavaScript with Node.js privileges, enabling code execution on the desktop. The weakness is classified as CWE-79.

Why it matters

The described impact is code execution on the victim's desktop from stored content, which can arrive through import or sync and requires the user to add or duplicate the column. The CVSS 4.0 score is 9.4 (vector CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H, source: CNA VulnCheck) and severity is critical. CISA's KEV catalog does not list active exploitation, and the source provides no evidence that this was 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, and the vendor has published a security advisory (GHSA-vvqj-4crq-p53p) and a patch commit. The source does not state any 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-79

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