{"id":"EUVD-2026-57408","enisaUuid":"2f66ace2-99e1-331c-bcf1-796193819956","description":"SiYuan versions before v3.7.4 contain a second-order SQL injection vulnerability in attribute-view template columns that expose the queryBlocks function, which executes raw SQL using string substitution instead of parameterized queries. Attackers can distribute malicious SiYuan documents or packages with crafted template columns that execute arbitrary SQL on a victim\u0027s kernel when the package is imported and rendered, enabling read and write access across notebooks.","datePublished":"Aug 12, 2026, 7:07:51 PM","dateUpdated":"Aug 14, 2026, 4:52:12 PM","baseScore":8.8,"baseScoreVersion":"4.0","baseScoreVector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N","references":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-x67c-8pwr-m8g3\nhttps://www.vulncheck.com/advisories/siyuan-before-sql-injection-via-queryblocks-template\n","aliases":"CVE-2026-72807\nGHSA-2jmx-q9jf-wp3w\nGHSA-x67c-8pwr-m8g3\n","assigner":"VulnCheck","epss":0.33,"enisaIdProduct":[{"id":"02c66a63-8a31-3b00-94a5-2047398a999a","product":{"name":"SiYuan","vendor":{"name":"siyuan-note"}},"product_version":"0 \u003c3.7.4"}],"enisaIdVendor":[{"id":"3f7cda91-d5b1-3ae9-a005-a775f44c0ceb","vendor":{"name":"siyuan-note"}}],"enisaIdVulnerability":[{"id":"4847581b-8a02-35a5-a19f-89bb4325e54d","vulnerability":{"id":"CVE-2026-72807","description":"SiYuan versions before v3.7.4 contain a second-order SQL injection vulnerability in attribute-view template columns that expose the queryBlocks function, which executes raw SQL using string substitution instead of parameterized queries. Attackers can distribute malicious SiYuan documents or packages with crafted template columns that execute arbitrary SQL on a victim\u0027s kernel when the package is imported and rendered, enabling read and write access across notebooks.","datePublished":"Aug 12, 2026, 7:07:51 PM","dateUpdated":"Aug 14, 2026, 4:52:12 PM","status":"PUBLISHED","baseScore":8.8,"baseScoreVersion":"4.0","baseScoreVector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N","references":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-x67c-8pwr-m8g3\nhttps://www.vulncheck.com/advisories/siyuan-before-sql-injection-via-queryblocks-template\n","enisa_id":"EUVD-2026-57408\n","assigner":"VulnCheck","epss":0.33,"dataProcessed":"Nov 17, 2026, 7:18:44 AM","vulnerabilityProduct":[{"id":"a854485a-d8ca-3314-8685-332848f1e10f","product":{"name":"SiYuan","vendor":{"name":"siyuan-note"}},"product_version":"0 \u003c3.7.4"}],"vulnerabilityVendor":[{"id":"42832135-e862-38d0-897f-5ec53cdb98f8","vendor":{"name":"siyuan-note"}}]}},{"id":"a718b697-c3ed-35b2-bbb9-e21d7e7b1147","vulnerability":{"id":"GHSA-2jmx-q9jf-wp3w","description":"Duplicate Advisory: Second-order SSTI to arbitrary SQL via attribute-view template column (queryBlocks): malicious imported package executes SQL on victim kernel","datePublished":"Aug 12, 2026, 9:31:42 PM","dateUpdated":"Sep 3, 2026, 10:49:12 PM","baseScore":0.0,"references":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-x67c-8pwr-m8g3\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-72807\nhttps://www.vulncheck.com/advisories/siyuan-before-sql-injection-via-queryblocks-template\n","enisa_id":"EUVD-2026-57408\n","aliases":"GHSA-2jmx-q9jf-wp3w\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:53:30 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"e405e595-bf79-3f72-af80-4bfef82fc9bb","vulnerability":{"id":"GHSA-x67c-8pwr-m8g3","description":"SiYuan: Second-order SSTI to arbitrary SQL via attribute-view template column (queryBlocks): malicious imported package executes SQL on victim kernel","datePublished":"Sep 3, 2026, 10:49:30 PM","dateUpdated":"Sep 3, 2026, 10:49:31 PM","baseScore":0.0,"references":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-x67c-8pwr-m8g3\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-72807\nhttps://github.com/siyuan-note/siyuan/commit/0a176345e02a0d19bdc7762e50e0b92002087d20\nhttps://github.com/siyuan-note/siyuan\nhttps://www.vulncheck.com/advisories/siyuan-before-sql-injection-via-queryblocks-template\n","enisa_id":"EUVD-2026-57408\n","aliases":"CVE-2026-72807\nGHSA-x67c-8pwr-m8g3\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:54:50 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}