{"cve":"CVE-2026-54068","nvd":{"published":"2026-06-24T22:16:48.303","modified":"2026-10-25T23:10:00.167","status":"Deferred","description":"SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, the /api/icon/getDynamicIcon endpoint is explicitly excluded from authentication in SiYuan's kernel router (router.go, \"不需要鉴权\" -- no auth needed). When called with type=8 and a valid block id parameter, this endpoint invokes RenderDynamicIconContentTemplate, which executes a Go template that includes the querySQL and queryBlocks functions. These functions run arbitrary SELECT statements against the SiYuan SQLite database. An unauthenticated network-adjacent attacker who knows a valid block ID can exfiltrate all user note content, tags, asset references, and block attributes from the database. This vulnerability is fixed in 3.7.0.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9},"cwes":["CWE-306"],"references":["https://github.com/siyuan-note/siyuan/security/advisories/GHSA-gcm7-57gf-953c","https://github.com/siyuan-note/siyuan/security/advisories/GHSA-gcm7-57gf-953c"],"products":[],"source":"nvd","synced_at":"2026-10-25T23:44:33.281319194+00:00"},"epss":{"cve":"CVE-2026-54068","score":0.00377,"percentile":0.31389,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-gcm7-57gf-953c","url":"https://osv.dev/vulnerability/GHSA-gcm7-57gf-953c","summary":"SiYuan: Unauthenticated SQLite Data Exfiltration via Template Injection in /api/icon/getDynamicIcon","modified":"2026-07-21T19:18:51.098870361Z","packages":[{"ecosystem":"Go","name":"github.com/siyuan-note/siyuan/kernel","purl":"pkg:golang/github.com/siyuan-note/siyuan/kernel","ranges":["<0.0.0-20260628153353-2d5d72223df4"],"fixed":["0.0.0-20260628153353-2d5d72223df4"]}]},{"id":"GO-2026-5958","url":"https://osv.dev/vulnerability/GO-2026-5958","summary":"SiYuan: Unauthenticated SQLite Data Exfiltration via Template Injection in /api/icon/getDynamicIcon in github.com/siyuan-note/siyuan/kernel","modified":"2026-07-21T19:15:34.614887596Z","packages":[{"ecosystem":"Go","name":"github.com/siyuan-note/siyuan/kernel","purl":"pkg:golang/github.com/siyuan-note/siyuan/kernel","ranges":["<0.0.0-20260628153353-2d5d72223df4"],"fixed":["0.0.0-20260628153353-2d5d72223df4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}