Read the docs
TI-2026-51252 Aliases CVE-2026-73043GHSA-4fpp-f8jx-g9w6

SiYuan before v3.7.4 Remote Code Execution via Template Calculation

Priority MEDIUM 43CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Passive
Attack complexity
Low
Attack requirements
None
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 versions before v3.7.4 contain a remote code execution vulnerability in the Template calculation operator, which renders user-authored Go templates and stores output verbatim without sanitization. Attackers can inject malicious HTML and JavaScript into template calculations that execute in the desktop client renderer with Node integration enabled, allowing arbitrary code execution when the database is opened.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00643 51st percentileScored 2026-11-07
Fix Fixed siyuan (siyuan-note): 3.7.4

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
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

VendorProductAffected versionsFixed inStatusSource
siyuan-notesiyuanbefore 3.7.43.7.4Patch availableCNA
  • siyuan Vendorsiyuan-note Affected before 3.7.4 Fixed in 3.7.4 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

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

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    siyuan-note siyuan 3.7.4

    11 records Highest priority Priority HIGH 8 HIGH, 2 MEDIUM, 1 LOW

    Other records, highest priority first

    • TI-2026-51255 SiYuan before v3.7.4 Authentication Bypass via HTTP Basic AuthPriority HIGH 81
    • TI-2026-51263 SiYuan before v3.7.4 Authentication Bypass via WebSocketPriority HIGH 77
    • TI-2026-51262 SiYuan before v3.7.4 Cross-Site Scripting via unicode2EmojiPriority HIGH 76

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-73043
  2. 2026-10-03 Alias added: GHSA-4fpp-f8jx-g9w6
  3. 2026-10-21 EPSS moved to the 50th–90th percentile

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 242 →

Sources