Summary
CVE-2026-134246 is a missing authorization vulnerability (CWE-862) in SiYuan Note. The /api/block/getDOMText endpoint renders caller-supplied DOM without checking publish access. When publish authentication is disabled, an unauthenticated remote visitor can read cached OCR text from unpublished assets. The CVE record rates it 8.7 (High) under CVSS v4.0.
Technical details
- Root cause:
/api/block/getDOMTextrenders DOM supplied by the caller and does not check publish access for the image paths that DOM references. - Trigger conditions: Publish authentication is disabled. The attacker knows the path of a target asset. The asset is unpublished and not encrypted, and it has cached OCR text.
- Attack vector: Network. No authentication, privileges, or user interaction are needed.
- Impact: Loss of confidentiality. An attacker submits DOM that references known asset paths and receives the cached OCR text of those unpublished assets. The CVE record does not describe any integrity or availability impact.
Affected software
- SiYuan 3.6.0 through 3.6.1
- SiYuan 3.7.3 through 3.8.9
Severity
- CVSS v4.0: 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 - CVSS v3.1: 7.5 (High),
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Mitigation and recommended actions
- Immediate: upgrade to SiYuan 3.6.2 or later on the 3.6.x branch, or to 3.8.10 or later.
- Enable publish authentication on any internet-exposed SiYuan instance. This follows from the trigger condition above, but the CVE record does not list it as an official workaround.
- Restrict network access to SiYuan instances that do not need to be public.

