CVE Catalog

CVE-2026-73043

CriticalCVSS 9.0
Published: Translated: NVD NIST

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.

Risk Assessment

An attacker can execute arbitrary code on the user's machine, potentially leading to full system compromise, data theft, or takeover of the application.

Recommendation

Update SiYuan to version v3.7.4 or later, which includes a fix for sanitization of template calculation output.

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS