CVE-2026-73043 SiYuan before v3.7.4 Remote Code Execution via Template Calculation
Attackers can execute arbitrary code in the SiYuan desktop client by injecting malicious scripts into template calculations.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-73043?
CVE-2026-73043 is a critical cross-site scripting vulnerability in siyuan-note siyuan, published on 15 Aug 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-79
Which versions are affected by CVE-2026-73043?
How do I fix CVE-2026-73043?
No fix has been published for CVE-2026-73043 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-73043 being exploited?
There is no known exploitation of CVE-2026-73043 in the wild and no public exploit code.
Sources
Also known as GHSA-4fpp-f8jx-g9w6.