Skip to main content

Duplicate Advisory: SiYuan: Cross-boundary content disclosure via getBacklinkDoc/getBackmentionDoc (publish mode): reader-reachable rendered DOM of publish-forbidden docs; sibling list endpoints…

0
Critical
Published: 08/03/2026 (08/03/2026, 15:32:47 UTC)
Source: GCVE Database
Product: siyuan

Description

SiYuan before version 3.7.3 contains a vulnerability where publish-access filters are not applied to certain content endpoints, allowing unauthorized readers to access rendered DOM content of documents that should be restricted. This affects the getBacklinkDoc and getBackmentionDoc API endpoints, enabling a publish-mode reader, including anonymous users if Basic Auth is disabled, to retrieve content from publish-forbidden documents.

CVSS v3.1

Score 8.6high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Affected software

npmghsa
siyuan
Affected versions
<=3.7.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 12:22:28 UTC

Technical Analysis

SiYuan versions prior to 3.7.3 fail to enforce publish-access restrictions on the /api/ref/getBacklinkDoc and /api/ref/getBackmentionDoc endpoints. Although backlink list endpoints correctly filter out publish-forbidden documents, these content endpoints only require authentication checks without applying publish-access filters. Consequently, unauthorized readers can directly query these endpoints with IDs of restricted documents to obtain their rendered DOM content and confirm references within those documents. This represents a cross-boundary content disclosure vulnerability classified under CWE-862.

Potential Impact

An attacker or unauthorized user with reader-level access, including anonymous users if Basic Auth is disabled, can access the rendered content of documents that should be restricted from publishing. This leads to a confidentiality breach, exposing potentially sensitive document content without proper authorization. The vulnerability does not impact integrity or availability but results in high confidentiality impact.

Mitigation Recommendations

A fix is available in SiYuan version 3.7.3 and later, which properly applies publish-access filters to the affected endpoints. Users should upgrade to version 3.7.3 or newer to remediate this vulnerability. No additional mitigations are specified or required beyond applying the official fix.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-2mmh-4rf8-7xg6
Osv Schema Version
1.4.0
Ecosystems
["npm"]
Database Specific Severity
CRITICAL
Cvss Version
3.1

Threat ID: 6a9ad51facd9273b49b68ab9

Added to database: 09/04/2026, 14:26:39 UTC

Last enriched: 09/07/2026, 12:22:28 UTC

Last updated: 10/04/2026, 06:33:02 UTC

Views: 50

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses