Skip to main content

SiYuan EUVDEUVD-2026-132194

| CVE-2026-134246 HIGH
Missing Authorization (CWE-862)
2026-11-21 VulnCheck GHSA-qmx4-2295-q724
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach public publish service with publish auth disabled
  2. Exploit
    Submit DOM referencing known private non-encrypted asset path to /api/block/getDOMText
  3. Execution
    Handler renders caller DOM and reads global path-keyed OCR cache without publish-access check
  4. Impact
    Receive cached OCR text of unpublished asset (confidentiality loss)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires ALL of: (1) a reachable public SiYuan publish service with publish authentication DISABLED (so PublishServiceTransport forwards anonymous requests using the public Reader token); (2) a specific, already-KNOWN filesystem path to a non-encrypted asset outside the published set (e.g. assets/<name>.png); and (3) OCR text already present in the global path-keyed cache for that asset. The attack targets the /api/block/getDOMText endpoint, which renders caller-supplied DOM and resolves image src via util.GetAssetText without a Reader publish-access decision. Key LIMITS on real-world exploitation, stated by the advisory: the proof did NOT demonstrate any way to discover arbitrary private asset paths, nor to warm/populate the OCR cache remotely, and encrypted assets are out of scope; impact is confined to confidentiality of already-cached OCR text (no integrity or availability impact). If publish authentication is enabled (the default protective posture), the anonymous path does not apply.

Impact

This is a confidentiality-only missing-authorization flaw (CWE-862) in SiYuan's publish service. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H) scores 8.7 and the GHSA's own CVSS 3.1 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N) scores 7.5 - both treat it as network-reachable, anonymous, high-confidentiality. However, the raw score overstates real-world risk because the advisory's own reproduction narrows exploitation sharply: it works only when publish authentication is disabled (a non-default, operator-chosen exposure), and additionally requires a KNOWN non-encrypted asset path plus OCR text that is ALREADY cached for that path. The advisory explicitly states the proof did NOT establish a way to discover arbitrary private paths or to warm the cache remotely - these are preconditions the attacker cannot control, which is why I assess AC:H (3.1) / AT:P (4.0) rather than the AC:L in the input. No EPSS score and no KEV listing are provided, and there is no SSVC-style automatable/technical-impact breakdown; the only decision signal is vuln.today's 'this_week' priority, consistent with a real but non-emergency issue. A public PoC reference exists (a complete route-level Go test embedded in the GHSA advisory); it is not independently verified as a working drop-in exploit, and PoC availability is not evidence of active exploitation. Net: a genuine data-exposure bug worth patching on a normal cycle, not a mass-exploitation emergency, chiefly because it depends on a non-default publish configuration and attacker-uncontrollable cache/path preconditions.

Exploit ScenarioDerived

An organization runs a public SiYuan publish service with publish authentication disabled. An anonymous visitor who already knows the path of a private scanned asset (e.g. assets/private-ocr-probe.png) sends a crafted DOM referencing that image to POST /api/block/getDOMText and receives the asset's cached OCR text in the response, exposing readable contents of a document that was never published. A public PoC reference (route-level test) is included in the GHSA advisory, though it is not verified as turnkey exploit code and the attacker must independently know the path and rely on the OCR already being cached.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 21, 2026

Missing publish-authorization enforcement in SiYuan's /api/block/getDOMText endpoint lets anonymous visitors to a publish service with publish authentication disabled retrieve cached OCR text belonging to private, non-encrypted assets - provided the attacker already knows the exact asset path and OCR text for it has already been cached. Affected ranges are 3.6.0 before 3.6.2 and 3.7.3 before 3.8.10, with runtime verification on 3.8.8 and the same code path reviewed in 3.8.9; the issue is confidentiality-only (no integrity or availability impact), and the advisory's proof does not show how arbitrary private paths could be discovered or how the OCR cache could be warmed remotely. A public proof-of-concept reproduction, including a negative control, accompanies the GHSA advisory; there is no CISA KEV listing or confirmed active exploitation, and vendor fixes ship in v3.8.10 (with the 3.6.x branch corrected in 3.6.2).

RemediationAI

Upgrade to SiYuan v3.8.10 (or 3.6.2 for the 3.6.x branch), which contain upstream commit 0432ef213d112e5ace886963f8e57fdf348c76c5: the getDOMText handler now checks for RoleReader and routes Reader requests through model.GetDOMTextWithoutOCRAssets, and the renderer/sql layer gains NodeStaticContentWithoutOCRAssets so util.GetAssetText is never called for Reader-supplied DOM. Upgrade guidance is in the vendor advisory at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-vmvr-gf8m-x483 and the fix commit is at https://github.com/siyuan-note/siyuan/commit/0432ef213d112e5ace886963f8e57fdf348c76c5. Where upgrading is not immediately possible, the single precondition an operator controls is publish authentication: keeping publish authentication enabled prevents anonymous requests from being forwarded under the public Reader token, which is the path the advisory's proof exercises - the trade-off is that visitors must authenticate before reading published content. Because exploitation also requires a known private asset path and pre-cached OCR text, exposure is further reduced by not exposing the publish service to untrusted networks until the patched build is deployed; the advisory did not establish a way to discover arbitrary asset paths or to populate the OCR cache remotely, so no additional network-level control is documented as sufficient on its own.

Affected VersionsENISA

SiYuan 3.7.3 <3.8.10
SiYuan 3.6.0 <3.6.2

Affected Packages

euvd siyuan fix: 3.6.2, 3.8.10

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is CWE-862 (Missing Authorization) in SiYuan's publish/Reader boundary. When publish authentication is disabled, PublishServiceTransport forwards anonymous publish requests to the kernel API using the public account's Reader token, so a remote visitor reaches server-side endpoints as a low-privilege Reader. The getDOMText API handler accepts a caller-supplied dom field and passes it to model.GetDOMText, which parses the DOM with Lute and renders its blocks; image rendering reaches sql.NodeStaticContent, which resolves the image src through util.GetAssetText. That OCR lookup is keyed only by asset path and receives no Reader role, document identity, or publish-access decision, so the handler never applies the asset-level publish filtering that PR #16041 added for other Reader asset-content paths. The upstream fix (commit 0432ef213d112e5ace886963f8e57fdf348c76c5) adds a role check in the getDOMText handler: when model.GetGinContextRole(c) is RoleReader the request is routed to a new model.GetDOMTextWithoutOCRAssets, and the rendering chain gains an includeOCRAssets flag so sql.NodeStaticContentWithoutOCRAssets skips the util.GetAssetText lookup while editors and administrators retain full OCR rendering. Regression coverage was added in kernel/api/block_dom_text_test.go asserting that Reader responses omit the OCR canary while editor/administrator responses include it. Note that the published advisory's own metrics (CVSS v3.1 7.5) and our assessed vector rate this AC:H because of the stacked preconditions - publish authentication disabled, a known private asset path, and a pre-populated OCR cache entry - rather than the higher network-only severity implied by the raw score supplied with the CVE feed.

Know when Siyuan gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 5.9 MEDIUM

Network-reachable and anonymous when publish auth is disabled (AV:N, PR:N); AC:H because exploitation needs an attacker-uncontrollable known asset path plus pre-existing cached OCR; full OCR disclosure gives C:H, no I/A impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

SiYuan 3.6.0 before 3.6.2 and 3.7.3 before 3.8.10 contains a missing authorization vulnerability in the /api/block/getDOMText endpoint, which renders caller-supplied DOM without checking publish access for referenced image paths. When publish authentication is disabled, anonymous visitors can submit DOM referencing a known unpublished, non-encrypted asset path to retrieve its already-cached OCR text.

Technical POC Analysis

CWE-862 (Missing Authorization).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

SiYuan, a knowledge management platform, has a high-severity vulnerability (CVE-2026-134246) that could allow anonymous users to access cached OCR text from private assets under specific conditions. This primarily affects organizations running SiYuan as a publish service with authentication disabled. Leadership should prioritize patching because the vulnerability is publicly known and could lead to unauthorized disclosure of sensitive information contained in private documents.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.6%
Top 48% exploitable
Prevalence
Low
niche open-source personal knowledge-management app; public publish-auth-disabled deployments rarer still
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Medium

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Siyuan

View all
CVE-2026-69083 CRITICAL POC
9.9 Aug 03

SQL injection in SiYuan's fullTextSearchAssetContent endpoint lets unauthenticated attackers and holders of publish Role

CVE-2026-54067 CRITICAL POC
9.9 Jun 24

Stored cross-site scripting in SiYuan personal knowledge management before 3.7.0 lets an attacker with write access to a

CVE-2026-69084 CRITICAL POC
9.9 Aug 03

SQL injection in SiYuan personal knowledge management (versions <= v3.7.2) lets attackers pass arbitrary SQL statements

CVE-2026-54158 CRITICAL POC
9.9 Jun 24

Stored cross-site scripting in SiYuan's attribute-view (database) cell renderer, affecting all versions prior to 3.7.0,

CVE-2026-69085 CRITICAL POC
9.9 Aug 03

SQL injection in SiYuan personal knowledge-management software (all versions before v3.7.3) lets attackers inject arbitr

CVE-2024-53507 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability was discovered in Siyuan 3.1.11 in /getHistoryItems. Rated critical severity (CVSS 9.8), t

CVE-2024-53506 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the ids array parameter in /batchGetBlockAttrs. R

CVE-2024-53505 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the id parameter at /getAssetContent. Rated criti

CVE-2024-53504 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the notebook parameter in /searchHistory. Rated c

CVE-2026-23852 CRITICAL POC
9.6 Jan 19

SiYuan personal knowledge management system prior to 3.5.4 has a stored XSS vulnerability (CVSS 9.6) that allows code ex

CVE-2026-56397 CRITICAL POC
9.4 Jun 21

Remote code execution in SiYuan note-taking application (before v3.6.1) allows any malicious Bazaar marketplace package

CVE-2026-54069 CRITICAL POC
9.2 Jun 24

Origin-validation bypass in SiYuan Note (open-source personal knowledge management) before 3.7.0 lets any installed Chro

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy