CyberRota Analysis
AI-GeneratedThe vulnerability allows for SQL injection in the /api/filetree/searchDocs endpoint of SiYuan versions prior to 3.7.3, enabling attackers to manipulate SQL statements due to improper handling of user input. This flaw can be exploited by unauthenticated users or those with minimal permissions, allowing them to read and modify all cleartext database content. Organizations using affected versions should prioritize immediate remediation to prevent potential data breaches and unauthorized access.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
SiYuan before v3.7.3 contains a SQL injection vulnerability in the /api/filetree/searchDocs endpoint, where the caller-supplied keyword parameter is concatenated directly into SQL statements with no escaping or parameter binding. The endpoint is reachable by a publish RoleReader token, or unauthenticated when publish mode is enabled with Publish.Auth.Enable set to false. Because the statement executes on a read-write SQLite handle via a driver that supports stacked (semicolon-separated) statements, an attacker can read and modify database content across all cleartext (non-encrypted) notebooks on the instance.