{"id":"CVE-2026-73047","aliases":["CVE-2026-73047"],"related":[],"kind":"vulnerability","state":"published","title":"siyuan before v3.7.4 Server-Side Template Injection via attribute-view","summary":"siyuan versions <= 3.7.3 (fixed in v3.7.4) contain a server-side template injection vulnerability in the attribute-view Template calculation feature (introduced in v3.7.0-beta.1). The feature's template engine uses Sprig's unmodified function map, which still exposes the env, expandenv, and getHostByName functions that were removed elsewhere for CVE-2024-55660. A local, unauthenticated attacker (the kernel binds to 127.0.0.1 by default with no per-UID access control) can inject a malicious Template calculation formula to read environment variables belonging to the account running siyuan — including from a separate, unprivileged OS account — and to perform DNS lookups from the server's network position.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"siyuan versions <= 3.7.3 (fixed in v3.7.4) contain a server-side template injection vulnerability in the attribute-view Template calculation feature (introduced in v3.7.0-beta.1). The feature's template engine uses Sprig's unmodified function map, which still exposes the env, expandenv, and getHostByName functions that were removed elsewhere for CVE-2024-55660. A local, unauthenticated attacker (the kernel binds to 127.0.0.1 by default with no per-UID access control) can inject a malicious Template calculation formula to read environment variables belonging to the account running siyuan — including from a separate, unprivileged OS account — and to perform DNS lookups from the server's network position.","source":"cvelist"}],"published":"2026-08-15T21:44:51.211Z","modified":"2026-08-26T16:57:52.167Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.6,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":6.2,"rating":"MEDIUM"}],"cwes":["CWE-200"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"3.7.4","status":"affected"},{"type":"semver","version":"3.7.4","status":"unaffected"}],"vendor":"siyuan-note","product":"siyuan","source":"cvelist"}],"references":[{"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-v97v-gxxg-rhmq","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/siyuan-before-server-side-template-injection-via-attribute-view","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["K3y5tr0ke"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-08-17T15:57:43.147Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-73047","url":"https://www.cve.org/CVERecord?id=CVE-2026-73047","licence":"CVE Terms of Use","modified":"2026-08-17T16:06:36.894Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-73047","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73047","licence":"Public domain","modified":"2026-08-26T16:57:52.167Z"}],"updatedAt":"2026-11-25T22:59:33.272Z","epss":{"score":0.00133,"percentile":0.03044,"date":"2026-12-01T12:00:22.000Z"}}