Skip to main content
← All vulnerabilities
CVE-2026-59834GHSA-H89Q-4J2H-7H88GO-2026-6353

SiYuan: SQL Query in Block Search Exposes Hidden Published Document Content

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.7.1, 0.0.0-20260704035518-d0f0fe146fb0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • siyuan-note siyuan

    fixed in 3.7.1

  • github.com/siyuan-note/siyuan/kernelGo

    fixed in 0.0.0-20260704035518-d0f0fe146fb0

References 4

GitHub · siyuan-note/siyuan