SiYuan versions before v3.7.4 contain a second-order SQL injection vulnerability in attribute-view template columns that expose the queryBlocks function, which executes raw SQL using string substitution instead of parameterized queries. Attackers can distribute malicious SiYuan documents or packages with crafted template columns that execute arbitrary SQL on a victim's kernel when the package is imported and rendered, enabling read and write access across notebooks.
References
Configurations
No configuration.
History
No history.
Information
Published : 2026-08-12 20:17
Updated : 2026-08-26 16:56
NVD link : CVE-2026-72807
Mitre link : CVE-2026-72807
CVE.ORG link : CVE-2026-72807
JSON object : View
Products Affected
No product.
CWE
CWE-89
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
