SiYuan Publish service exposes block memos to ReadersGHSA-955h-xwp6-26x3
MEDIUMFix: siyuan-note/siyuan@b54e69eGHSA-955h-xwp6-26x3 is a medium-severity (CVSS 4.3) vulnerability in github.com/siyuan-note/siyuan/kernel. A fix is available for github.com/siyuan-note/siyuan/kernel — see the affected versions and patch details below.
Real-World Exposure
github.com/siyuan-note/siyuan/kernelReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
Impact
The SiYuan Publish service could include editor-authored block memos in rendered block responses sent to Readers. Visitors could also receive those memos when Publish authentication was disabled. This exposed private memo text associated with blocks the visitor could already read.
Affected versions and fix
Stable releases through 3.8.11 are affected. The 3.8.12 previews through alpha.3 and builds from the v3.9.0-alpha.1 source tag also predate the fix.
The fix targets SiYuan 3.8.12. Publish rendering omits block memos and inline memo text from Reader responses while preserving the visible document content. Administrator editing continues to show the original memos.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/siyuan-note/siyuan/kernel | all versions | 0.0.0-20261122171300-b54e69e74e63go get github.com/siyuan-note/siyuan/kernel@v0.0.0-20261122171300-b54e69e74e63 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/siyuan-note/siyuan/kernel, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/siyuan-note/siyuan/kernel to 0.0.0-20261122171300-b54e69e74e63 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-955h-xwp6-26x3 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-955h-xwp6-26x3 in your dependencies?
Find it across Go, including transitive dependencies.