Description
SiYuan is an open-source personal knowledge management system. Prior to 3.7.1, the /api/storage/getCriteria endpoint returns saved search criteria from data/storage/criteria.json without the publish-access filtering used by sibling storage endpoints, allowing a publish-mode Reader to read private document paths, notebook, document, and block IDs, and search and replace keywords for unpublished documents. This issue is fixed in versions 3.7.1.
Published: 2026-07-09
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

SiYuan’s /api/storage/getCriteria endpoint, before version 3.7.1, returned the full contents of data/storage/criteria.json without applying the publish‑access filter that other storage endpoints use. This omission constitutes an authorization flaw (CWE‑862) that allows paths, notebook names, document and block identifiers, and search‑and‑replace keywords for unpublished documents, thereby exposing internal knowledge structures.

Affected Systems

Siyuan from the siyuan-note:siyuan line. Any installation running a version older than 3.7.1 is vulnerable. Versions 3.7.1 and later contain a fix that reinstates the required publish‑access filtering on /api/storage/getCriteria.

Risk and Exploitability

The CVSS score of 6.5 indicates moderate severity, and the EPSS of less than 1% vulnerability is not listed in the CISA KEV catalog, implying no widespread exploitation has been observed. A likely attack vector is an authenticated HTTP API request from a user with publish‑mode Reader role who can directly call /api/storage/getCriteria once the application is reachable over the network. Exploitation requires only credentialed access and no special privileges beyond those granted by the Reader role, making the attack straightforward for an authorized user.

Generated by OpenCVE AI on July 29, 2026 at 11:42 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade SiYuan to version 3.7.1 or newer to apply the published patch that restores proper publish‑access filtering on /api/storage/getCriteria.
  • Re‑configure access control so that publish‑mode Readers cannot call the /api/storage/getCriteria endpoint, or revoke the publish‑mode Reader role from users who do not require it.
  • Review all other API endpoints to ensure that authorization checks are consistently applied and that no other endpoints expose internal data without appropriate visibility restrictions.

Generated by OpenCVE AI on July 29, 2026 at 11:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 10 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 10 Jul 2026 09:30:00 +0000

Type Values Removed Values Added
First Time appeared Siyuan
Siyuan siyuan
Vendors & Products Siyuan
Siyuan siyuan

Thu, 09 Jul 2026 22:45:00 +0000

Type Values Removed Values Added
Description SiYuan is an open-source personal knowledge management system. Prior to 3.7.1, the /api/storage/getCriteria endpoint returns saved search criteria from data/storage/criteria.json without the publish-access filtering used by sibling storage endpoints, allowing a publish-mode Reader to read private document paths, notebook, document, and block IDs, and search and replace keywords for unpublished documents. This issue is fixed in versions 3.7.1.
Title SiYuan: Publish-mode Reader can exfiltrate private saved-search Criteria via /api/storage/getCriteria (missing publish-access filter)
Weaknesses CWE-862
References
Metrics cvssV3_1

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


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-10T13:47:41.946Z

Reserved: 2026-07-07T15:41:53.606Z

Link: CVE-2026-59853

cve-icon Vulnrichment

Updated: 2026-07-10T13:47:18.318Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T11:45:03Z

Weaknesses