Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-59834: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in siyuan-note siyuan

0
High
VulnerabilityCVE-2026-59834cvecve-2026-59834cwe-89
Published: 07/09/2026 (07/09/2026, 22:15:48 UTC)
Source: CVE Database V5
Vendor/Project: siyuan-note
Product: siyuan

Description

SiYuan, an open-source personal knowledge management system, has a SQL injection vulnerability in versions prior to 3.7.1. The issue exists in the block search endpoint POST /api/search/fullTextSearchBlock, where attacker-controlled path values are concatenated into SQL predicates in non-SQL search modes. This allows an unauthenticated visitor to inject a UNION SELECT statement and retrieve rows from hidden documents by exploiting visible box and path projections. The vulnerability is fixed in version 3.7.1.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected software

GitHub Actionsmore threats →ai
siyuan-note/siyuan
pkg:github/siyuan-note/siyuan
Affected versions
<3.7.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/09/2026, 23:02:31 UTC

Technical Analysis

CVE-2026-59834 is a SQL injection vulnerability in SiYuan prior to version 3.7.1. The vulnerability arises because the block search endpoint concatenates attacker-controlled path values directly into SQL predicates used by non-SQL search modes. This flaw permits an unauthenticated publish visitor to perform a UNION SELECT injection, enabling access to rows from hidden documents by leveraging allowed visible box and path projections. The issue is resolved in version 3.7.1.

Potential Impact

An unauthenticated attacker can exploit this vulnerability to inject SQL commands via the block search endpoint, allowing them to access data from hidden documents that should not be visible. The vulnerability impacts confidentiality but does not affect integrity or availability. The CVSS score is 7.5 (high severity), reflecting the ease of remote exploitation without authentication and the high impact on data confidentiality.

Mitigation Recommendations

A fix is available in SiYuan version 3.7.1. Users should upgrade to version 3.7.1 or later to remediate this vulnerability. No vendor advisory was provided to indicate alternative mitigations or temporary fixes.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-07-07T15:00:50.979Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a50252a68715ace43310ce4

Added to database: 07/09/2026, 22:48:10 UTC

Last enriched: 07/09/2026, 23:02:31 UTC

Last updated: 07/09/2026, 23:44:00 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses