Skip to main content

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

0
High
VulnerabilityCVE-2026-93591cvecve-2026-93591
Published: 09/18/2026 (09/18/2026, 13:20:04 UTC)
Source: CVE Database V5
Vendor/Project: siyuan-note
Product: siyuan

Description

SiYuan versions before 3.8.3 contain an SQL injection vulnerability in the graph.go query2Stmt function where tag values are concatenated raw into SQL string literals without escaping single quotes. A publish-mode reader or anonymous visitor can inject SQL via inline HTML span tags in the getGraph endpoint to execute arbitrary queries on the read-write database and exfiltrate private data across notebooks.

CVSS v4.0

Score 7.2high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
Low
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N

Affected software

siyuan-note

siyuan

Affected versions
>=0 <3.8.3
GitHub Actionsmore threats →ai
siyuan-note/siyuan
pkg:github/siyuan-note/siyuan
Affected versions
>=0 <3.8.3

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: 09/18/2026, 13:47:59 UTC

Technical Analysis

CVE-2026-93591 is an SQL injection vulnerability in SiYuan note-taking software versions prior to 3.8.3. The vulnerability exists because tag values are concatenated directly into SQL string literals without escaping single quotes in the graph.go query2Stmt function. An attacker with publish-mode reader or anonymous visitor access can inject SQL commands via inline HTML span tags in the getGraph endpoint, allowing execution of arbitrary SQL queries on the read-write database and potential data exfiltration across notebooks.

Potential Impact

An attacker with publish-mode reader or anonymous visitor access can exploit this vulnerability to execute arbitrary SQL queries on the application's read-write database. This can result in unauthorized disclosure of private data stored across notebooks, compromising confidentiality and potentially integrity of the data.

Mitigation Recommendations

A fix is available in SiYuan version 3.8.3. Users should upgrade to version 3.8.3 or later to remediate this SQL injection vulnerability. Until patched, restrict publish-mode reader or anonymous visitor access if possible to reduce exposure.

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
VulnCheck
Date Reserved
2026-09-18T10:59:45.138Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6aad3d5b55bf5e2cf51004ed

Added to database: 09/18/2026, 13:32:11 UTC

Last enriched: 09/18/2026, 13:47:59 UTC

Last updated: 09/19/2026, 00:43:55 UTC

Views: 9

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