DEV Community

johnettagaweraks
johnettagaweraks

Posted on

SiYuan Exposure Counts Need a Publish-Access Check

SiYuan Exposure Counts Need a Publish-Access Check

SiYuan can be used as a local knowledge base or as a published service. Those roles create very different security questions. GHSA-955h-xwp6-26x3 concerns memo text leaking through SiYuan Publish, so an external product match is useful only when the deployment actually exposes published documents to other people.

A count-only ZoomEye AI SDK check on 2026-12-02 returned 379 assets for title="SiYuan" and 5,604 for http.body="SiYuan". Both used page 1, page size 1, and sub_type=all. The body query is broader and can include documentation, download pages, and third-party references. The title query is more likely to identify a SiYuan interface, but neither query shows whether Publish is enabled or which access controls are configured.

The advisory affects stable releases through 3.8.11, plus specified 3.8.12 previews and builds from the v3.9.0-alpha.1 source tag. The fix in 3.8.12 removes block memos and inline memo text from Reader responses while preserving visible content. The exposure matters when readers can retrieve block data or search results that include memo fields. An instance used only by its administrator may have a different practical exposure from a public Publish site.

Use the external matches to find SiYuan owners, then check each deployment's purpose. Record whether Publish is enabled, whether authentication is required, and which documents are meant to be readable. Test an anonymous reader and a password-authenticated reader against a page with block memos. Compare the full response, including block and search endpoints, with the visible page.

After upgrading, clear rendered caches and repeat the check. A page can look correct while a JSON or HTML response still contains memo fields. Treat the memo as sensitive data and include it in backup and log-retention reviews if the instance exposed it during the vulnerable period.

The query total is not the number of affected SiYuan servers. It is a starting inventory for product owners. The deployment's Publish configuration and fixed version determine whether the vulnerability had a meaningful reader boundary to cross.

References

Query evidence: title="SiYuan" 379 and http.body="SiYuan" 5,604, observed 2026-12-02 with page 1, page size 1, and sub_type=all.

Top comments (0)