Description
siyuan versions before v3.8.2 contain an authenticated SQL injection vulnerability in the fullTextSearchBlock endpoint's method=1 query parameter. Attackers can inject UNION SELECT statements to read the entire blocks table, bypassing publish-access controls and exposing all document content and sensitive attributes.
Published: 2026-09-09
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is an authenticated SQL injection in the fullTextSearchBlock endpoint’s method=1 query parameter, allowing attackers to inject UNION SELECT statements. This flaw permits reading the entire blocks table, bypassing publish‑access controls and exposing all document content and sensitive attributes. The weakness falls under the injection category, specifically CWE‑89.

Affected Systems

All versions of the Siyuan note‑taking application produced by siyuan‑note:siyuan that are prior to version 3.8.2 are affected. The affected product is identified by the CPE that includes b3log:siyuan and is listed as "siyuan" in the CNA vendor/product list.

Risk and Exploitability

The CVSS score is 8.7, indicating a high severity. The EPSS score is not available, so the exact likelihood of exploitation is uncertain, though the flaw is considered exploitable by authenticated users. The vulnerability is not currently listed in CISA KEV. Attackers need access to a valid user account but can then expose all document data via API calls to the vulnerable endpoint.

Generated by OpenCVE AI on September 9, 2026 at 12:55 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update Siyuan to version 3.8.2 or later which removes the vulnerable code.
  • If an update is not immediately possible, restrict or disable the fullTextSearchBlock endpoint through API firewall rules or application configuration.
  • Ensure that only privileged users have access to authenticated API endpoints and enforce strict role‑based access control for document retrieval.

Generated by OpenCVE AI on September 9, 2026 at 12:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 09 Sep 2026 11:30:00 +0000

Type Values Removed Values Added
Description siyuan versions before v3.8.2 contain an authenticated SQL injection vulnerability in the fullTextSearchBlock endpoint's method=1 query parameter. Attackers can inject UNION SELECT statements to read the entire blocks table, bypassing publish-access controls and exposing all document content and sensitive attributes.
Title siyuan before v3.8.2 SQL Injection via fullTextSearchBlock
First Time appeared B3log
B3log siyuan
Weaknesses CWE-89
CPEs cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*
Vendors & Products B3log
B3log siyuan
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-09T11:20:56.932Z

Reserved: 2026-09-09T10:30:15.669Z

Link: CVE-2026-87807

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-09T12:17:15.343

Modified: 2026-09-09T12:17:15.343

Link: CVE-2026-87807

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-09T13:00:14Z

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')