Read the docs

Stored cross-site scripting in SiYuan via unfiltered WebSocket push

Priority MEDIUM 49CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
High
Attack requirements
Present
Impact type
Cross-site scripting
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.

Summary

SiYuan before 3.8.11 contains a stored cross-site scripting flaw (CWE-79) because the transactions WebSocket push does not filter event handler attributes on blocks. An attacker can supply a crafted .sy.zip import whose block attribute is re-broadcast and applied when any editor updates the block. This leads to code execution in the desktop build.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

Description from the CNA

SiYuan before 3.8.11 contains a stored cross-site scripting vulnerability because the transactions WebSocket push fails to filter handler-named block attributes. Attackers can supply a .sy.zip import carrying an onmouseover attribute that is re-broadcast and applied when any editor updates the block, achieving code execution in the desktop build.

Why it matters now

Fix Fixed siyuan (siyuan-note): 3.8.11

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
siyuan-notesiyuanbefore 3.8.113.8.11Patch availableCNA
  • siyuan Vendorsiyuan-note Affected before 3.8.11 Fixed in 3.8.11 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*——siyuan-note
  • cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:* Versions — — ·siyuan-note

Remediation

Upgrade SiYuan to version 3.8.11, which fixes the flaw.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

  • Fix · CNA siyuan (siyuan-note) Fixed in 3.8.11

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.11

    19 records Highest priority Priority HIGH 2 HIGH, 8 MEDIUM, 9 LOW

    Other records, highest priority first

    • TI-2026-104189 TLS enforcement bypass in SiYuan exposes workspace access codePriority HIGH 72
    • TI-2026-104201 SiYuan Denial of Service via Unbounded loginAuth Request BodyPriority HIGH 70
    • TI-2026-104243 Password throttle reset in SiYuan publish accessPriority MEDIUM 64

Timeline

  1. 2026-12-04 Threatist record created from CVE-2026-145078

References

  • 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
See all 295 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences