---
id: CVE-2026-87807
title: >-
  siyuan versions before v3.8.2 contain an authenticated SQL injection
  vulnerability in the fullTextSearchBlock endpoint's method=1 query parameter
summary: >-
  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 pu…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-89
vendor: siyuan-note
product: siyuan
affected:
  - siyuan < 3.8.2
published: '2026-09-09'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T15:17:53.697'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-87807'
references:
  - url: >-
      https://github.com/siyuan-note/siyuan/security/advisories/GHSA-336w-67gx-gx2h
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/siyuan-before-3.8.2-sql-injection-via-fulltextsearchblock
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-09-10T14:22:32.089191Z'
ingestedAt: '2026-09-14T12:28:22.573Z'
epss: 0.00266
epssPercentile: 0.18728
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
