ZeroHour

CVE-2026-87809

niche

Authorization bypass in Siyuan embed blocks exposes private block content

CVSS 4.0
7.1 high
EPSS
Published
()
Modified
AI analysis

Siyuan before v3.8.2 fails to apply publish-access filtering to embedded blocks before rendering in the /api/export/preview and /api/lute/copyStdMarkdown endpoints. An attacker who already holds reader access can open a public document containing an embed query that selects private, hidden, or publish-disabled blocks and receive their full rendered content in the output. The impact is confidentiality-only disclosure of content that publish-access controls were supposed to keep restricted; there is no integrity or availability impact. Only deployments running affected versions that publish public documents containing embed blocks referencing restricted content are affected. No public proof of concept, in-the-wild exploitation, or KEV listing is known, and the flaw is fixed in v3.8.2.

What to do: Upgrade Siyuan to v3.8.2 or later. Until patched, audit published/public documents for embed blocks that reference private, hidden, or publish-disabled content and remove or republish those embeds, and review which accounts hold reader access. Defenders can also confirm whether /api/export/preview and /api/lute/copyStdMarkdown are reachable by untrusted or low-privilege clients and monitor responses for content from restricted blocks.

Affected
Siyuanbefore 3.8.2 (< 3.8.2)
Estimated exposure
nichelikely on the order of thousands of users/deployments (the subset of Siyuan's self-hosted and cloud installs that use the publish feature with embed blocks… — Siyuan is an open-source note-taking app with a user base plausibly in the tens of thousands based on its public project popularity, but the flaw only applies to the narrower subset of deployments that expose public documents whose embed…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

Siyuan before v3.8.2 fails to apply publish-access filtering to embedded blocks before rendering in the /api/export/preview and /api/lute/copyStdMarkdown endpoints. Attackers with reader access can retrieve the full rendered content of private, hidden, or publish-disabled blocks by accessing public documents containing embed queries that select those blocks.

Weakness
CWE-639
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.