{"id":"EUVD-2026-58626","enisaUuid":"24f775ec-2dbf-379a-8fb3-7f9cc36a8571","description":"SiYuan versions \u003c\u003d v3.7.2 contain a SQL injection vulnerability in the backlink/mention search query (kernel/model/backlink.go), which concatenates stored block metadata (title, name, alias, anchor text) and the client-supplied keyword into a SQL MATCH/search statement while escaping only the double-quote character and not the single quote. A single quote in the client keyword (first-order, reachable by an anonymous or RoleReader user on the publish surface) or in stored document metadata (second-order) breaks out of the string literal. Because the query runs on the main read-write siyuan.db handle via a statement-stacking-capable driver, an attacker can execute arbitrary SQL, enabling cross-notebook read and write. Fixed in v3.7.4.","datePublished":"Aug 14, 2026, 11:35:24 AM","dateUpdated":"Aug 14, 2026, 4:52:14 PM","baseScore":9.9,"baseScoreVersion":"4.0","baseScoreVector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N","references":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-q2vg-7qgx-x5fc\nhttps://www.vulncheck.com/advisories/siyuan-before-sql-injection-via-backlink-search\n","aliases":"CVE-2026-72811\nGHSA-p8cp-78hp-wmq8\nGHSA-q2vg-7qgx-x5fc\n","assigner":"VulnCheck","epss":0.44,"enisaIdProduct":[{"id":"8e1fd36e-8e6d-3249-9a1a-4f0d443c2738","product":{"name":"SiYuan","vendor":{"name":"siyuan-note"}},"product_version":"0 \u003c3.7.4"}],"enisaIdVendor":[{"id":"034f99f2-630c-3978-9f9d-3e4bbe9ad6b3","vendor":{"name":"siyuan-note"}}],"enisaIdVulnerability":[{"id":"1d13904f-184a-3388-8057-87d312ea0a6d","vulnerability":{"id":"CVE-2026-72811","description":"SiYuan versions \u003c\u003d v3.7.2 contain a SQL injection vulnerability in the backlink/mention search query (kernel/model/backlink.go), which concatenates stored block metadata (title, name, alias, anchor text) and the client-supplied keyword into a SQL MATCH/search statement while escaping only the double-quote character and not the single quote. A single quote in the client keyword (first-order, reachable by an anonymous or RoleReader user on the publish surface) or in stored document metadata (second-order) breaks out of the string literal. Because the query runs on the main read-write siyuan.db handle via a statement-stacking-capable driver, an attacker can execute arbitrary SQL, enabling cross-notebook read and write. Fixed in v3.7.4.","datePublished":"Aug 14, 2026, 11:35:24 AM","dateUpdated":"Aug 14, 2026, 4:52:14 PM","status":"PUBLISHED","baseScore":9.9,"baseScoreVersion":"4.0","baseScoreVector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N","references":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-q2vg-7qgx-x5fc\nhttps://www.vulncheck.com/advisories/siyuan-before-sql-injection-via-backlink-search\n","enisa_id":"EUVD-2026-58626\n","assigner":"VulnCheck","epss":0.44,"dataProcessed":"Nov 13, 2026, 7:17:45 AM","vulnerabilityProduct":[{"id":"ee3e2cc9-115b-33bb-a9e0-49c6c6bf4eb5","product":{"name":"SiYuan","vendor":{"name":"siyuan-note"}},"product_version":"0 \u003c3.7.4"}],"vulnerabilityVendor":[{"id":"0c9e14a1-9798-37f5-b041-ac91222eaa05","vendor":{"name":"siyuan-note"}}]}},{"id":"4b828b8c-44f5-3351-b414-299fd85a5287","vulnerability":{"id":"GHSA-p8cp-78hp-wmq8","description":"Duplicate Advisory: SQL injection in backlink/mention search via unescaped stored and client input (publish mode): first-order (client keyword) and second-order (stored document title) breakout on read-write handle","datePublished":"Aug 14, 2026, 12:31:24 PM","dateUpdated":"Sep 3, 2026, 10:24:31 PM","baseScore":0.0,"references":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-q2vg-7qgx-x5fc\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-72811\nhttps://www.vulncheck.com/advisories/siyuan-before-sql-injection-via-backlink-search\n","enisa_id":"EUVD-2026-58626\n","aliases":"GHSA-p8cp-78hp-wmq8\n","epss":0.0,"dataProcessed":"Nov 9, 2026, 3:51:44 PM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"86595973-b75b-3f11-89e3-58988c76b5f4","vulnerability":{"id":"GHSA-q2vg-7qgx-x5fc","description":"SiYuan: SQL injection in backlink/mention search via unescaped stored and client input (publish mode): first-order (client keyword) and second-order (stored document title) breakout on read-write handle","datePublished":"Sep 3, 2026, 10:27:50 PM","dateUpdated":"Sep 3, 2026, 10:27:50 PM","baseScore":0.0,"references":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-q2vg-7qgx-x5fc\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-72811\nhttps://github.com/siyuan-note/siyuan/commit/1a5b3431d5ab3036b19c1cc79486fedd6906fb57\nhttps://github.com/siyuan-note/siyuan\nhttps://www.vulncheck.com/advisories/siyuan-before-sql-injection-via-backlink-search\n","enisa_id":"EUVD-2026-58626\n","aliases":"CVE-2026-72811\nGHSA-q2vg-7qgx-x5fc\n","epss":0.0,"dataProcessed":"Nov 9, 2026, 3:52:25 PM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}