CVE-2026-72807: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in siyuan-note siyuan
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.
AI Analysis
Technical Summary
CVE-2026-72807 is a second-order SQL injection vulnerability affecting SiYuan note-taking software versions prior to v3.7.4. The flaw exists in the attribute-view template columns where the queryBlocks function executes raw SQL queries via string substitution rather than using parameterized queries. This allows attackers to embed malicious SQL in documents or packages that, upon import and rendering, execute arbitrary SQL commands on the victim's system. The vulnerability enables attackers to read and modify data across notebooks, potentially compromising data integrity and confidentiality.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary SQL commands on the victim's SiYuan kernel, resulting in unauthorized read and write access to notebook data. This can lead to data manipulation, leakage, or corruption within the affected application environment.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid importing untrusted SiYuan documents or packages containing attribute-view template columns. Monitor vendor communications for updates regarding patches or mitigations.
CVE-2026-72807: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in siyuan-note siyuan
Description
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.
CVSS v4.0
Score 8.8high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-72807 is a second-order SQL injection vulnerability affecting SiYuan note-taking software versions prior to v3.7.4. The flaw exists in the attribute-view template columns where the queryBlocks function executes raw SQL queries via string substitution rather than using parameterized queries. This allows attackers to embed malicious SQL in documents or packages that, upon import and rendering, execute arbitrary SQL commands on the victim's system. The vulnerability enables attackers to read and modify data across notebooks, potentially compromising data integrity and confidentiality.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary SQL commands on the victim's SiYuan kernel, resulting in unauthorized read and write access to notebook data. This can lead to data manipulation, leakage, or corruption within the affected application environment.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid importing untrusted SiYuan documents or packages containing attribute-view template columns. Monitor vendor communications for updates regarding patches or mitigations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-10T15:11:49.794Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a7cc90abf8831d5390772b0
Added to database: 08/12/2026, 19:27:06 UTC
Last enriched: 08/12/2026, 19:42:31 UTC
Last updated: 08/12/2026, 21:24:49 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.