top of page
perceptive_background_267k.jpg

SiYuan versions <= v3.7.2 expose the /api/search/searchEmbedBlock endpoint, which passes a client-supplied SQL statement verbatim to the main read-write siyuan.…

Published:

2 August 2026 at 22:00:00

Alert date:

3 August 2026 at 15:06:10

Source:

nvd.nist.gov

Click to open the original link from this advisory

Web Technologies, Database & Storage, Identity & Access

SiYuan versions up to and including v3.7.2 contain a critical SQL injection vulnerability in the /api/search/searchEmbedBlock endpoint. The endpoint passes client-supplied SQL statements directly to the main read-write siyuan.db database handle without any sanitization, single-statement enforcement, read-only restrictions, or admin-level access controls. Authentication is only gated by CheckAuth, meaning the vulnerability is exploitable by users holding a publish RoleReader token, or by anonymous users when publish authentication is disabled. The underlying SQLite driver supports stacked statements, allowing attackers to both read and modify content across all open cleartext notebooks. Encrypted per-box notebooks are not affected. The vulnerability was fixed in SiYuan v3.7.3.

Technical details

Mitigation steps:

Affected products:

SiYuan <= v3.7.2

Related links:

Related CVE's:

Related threat actors:

IOC's:

This article was created with the assistance of AI technology by Perceptive.

© 2025 by Perceptive Security. All rights reserved.

email: info@perceptivesecurity.com

Disclaimer: Deze website toont informatie afkomstig van externe bronnen. Perceptive aanvaardt geen verantwoordelijkheid voor de inhoud, juistheid of volledigheid van deze informatie.

bottom of page