{"cve":"CVE-2026-59834","nvd":{"published":"2026-07-09T23:17:05.900","modified":"2026-10-25T15:10:00.147","status":"Deferred","description":"SiYuan is an open-source personal knowledge management system. Prior to 3.7.1, the block search endpoint POST /api/search/fullTextSearchBlock concatenates attacker-controlled paths values into SQL predicates used by non-SQL search modes, allowing an unauthenticated publish visitor to inject a UNION SELECT and return rows from hidden documents by projecting an allowed visible box and path. This issue is fixed in versions 3.7.1.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-89"],"references":["https://github.com/siyuan-note/siyuan/commit/57bcad4b331836880bfe6be25d4180bdcf10db0d","https://github.com/siyuan-note/siyuan/commit/d0f0fe146fb07d594fcadc4f48d4f7c30ac01d1e","https://github.com/siyuan-note/siyuan/releases/tag/v3.7.1","https://github.com/siyuan-note/siyuan/security/advisories/GHSA-h89q-4j2h-7h88","https://github.com/siyuan-note/siyuan/security/advisories/GHSA-h89q-4j2h-7h88"],"products":[],"source":"nvd","synced_at":"2026-10-25T17:50:06.907763985+00:00"},"epss":{"cve":"CVE-2026-59834","score":0.00508,"percentile":0.43124,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-h89q-4j2h-7h88","url":"https://osv.dev/vulnerability/GHSA-h89q-4j2h-7h88","summary":"SiYuan: SQL Query in Block Search Exposes Hidden Published Document Content","modified":"2026-09-10T15:25:43.572531394Z","packages":[{"ecosystem":"Go","name":"github.com/siyuan-note/siyuan/kernel","purl":"pkg:golang/github.com/siyuan-note/siyuan/kernel","ranges":["<0.0.0-20260704035518-d0f0fe146fb0"],"fixed":["0.0.0-20260704035518-d0f0fe146fb0"]}]},{"id":"GO-2026-6353","url":"https://osv.dev/vulnerability/GO-2026-6353","summary":"SiYuan: SQL Query in Block Search Exposes Hidden Published Document Content in github.com/siyuan-note/siyuan/kernel","modified":"2026-09-10T15:15:12.328625002Z","packages":[{"ecosystem":"Go","name":"github.com/siyuan-note/siyuan/kernel","purl":"pkg:golang/github.com/siyuan-note/siyuan/kernel","ranges":["<0.0.0-20260704035518-d0f0fe146fb0"],"fixed":["0.0.0-20260704035518-d0f0fe146fb0"]}]}],"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."]}