# CVE-2026-73043: SiYuan before v3.7.4 Remote Code Execution via Template Calculation

- Severity: Critical 9.4 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 33% of CVEs (2026-12-01)
- Published: 2026-08-15T21:44:48.494Z
- Modified: 2026-08-26T16:57:52.167Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- siyuan-note siyuan: before 3.7.4 (not affected: 3.7.4)

## Every score

- VulnCheck: CVSS:4.0 9.4 Critical `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`
- VulnCheck: CVSS:3.1 9.0 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-rwh7-gm74-67h6> (vendor-advisory)
- <https://www.vulncheck.com/advisories/siyuan-before-remote-code-execution-via-template-calculation> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-73043](https://www.cve.org/CVERecord?id=CVE-2026-73043), CVE Terms of Use, modified 2026-08-17
- NVD: [CVE-2026-73043](https://nvd.nist.gov/vuln/detail/CVE-2026-73043), Public domain, modified 2026-08-26

---

Page: https://cve.day/CVE-2026-73043 · Whole record: https://cve.day/CVE-2026-73043.json · Rebuilt by cve.day 2026-11-25T22:59:33.271Z
