Skip to main content
VulnerabilityPublished Updated

github.com/siyuan-note/siyuan/kernel · SiYuan: Anonymous publish-password authentication bypass via getHeadingChildrenDOM / getHeading*Transaction /

Affects github.com/siyuan-note/siyuan/kernelSource GCVE Database

0

Mentioned vulnerabilities

CVSS 8.6 High : upgrade to 0.0.0-20260721020826-2d069dce84a2 soon.

Data as of 26 Oct 2026, 16:19 UTC

CVSS 3.1 base score
8.6High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 0.0.0-20260721020826-2d069dce84a2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

What to do

Upgrade github.com/siyuan-note/siyuan/kernel to 0.0.0-20260721020826-2d069dce84a2.

Affected software

ProductAffectedFixed in
Gogithub.com/siyuan-note/siyuan/kernelAffected
  • <0.0.0-20260721020826-2d069dce84a2
Fixed in
  • 0.0.0-20260721020826-2d069dce84a2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available to address this vulnerability. It is recommended to apply the official fix from the vendor to ensure that all content-returning endpoints enforce the publish-password check consistently. Until patched, avoid exposing publish mode with password protection enabled in environments where unauthorized access is a concern.

Description

SiYuan's publish mode includes a 'protected' access level that requires a password to read documents. However, several content-returning API endpoints bypass this password check, allowing anonymous users to retrieve the full content of password-protected documents. This occurs because these endpoints do not enforce the password protection that the primary content endpoint applies. The vulnerability has been reproduced on live instances, demonstrating that an attacker can bypass the password gate and access protected content without authentication.

References

Community reviews

Loading reviews…