Cross-Site Scripting (XSS) in github.com/siyuan-note/siyuan/kernel (CVE-2026-34585)
Summary
cross-site scripting in github.com/siyuan-note/siyuan/kernel (CVE-2026-34585). Successful exploitation can lead to full system takeover. Exploitable via ``escapeNodeAttributeValues``. Mitigation: upgrade to `0.0.0-20260329142331-918d1bd9f967` or later.
AI summary snake-internal / snake-material-v2
Response Actions (7 steps)
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
grep -r 'github.com/siyuan-note/siyuan/kernel' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で `github.com/siyuan-note/siyuan/kernel` を grep し、稼働しているサービス・バージョンを把握する。
-
6Apply patch patch
Upgrade github.com/siyuan-note/siyuan/kernel to 0.0.0-20260329142331-918d1bd9f967ステージング環境で 0.0.0-20260329142331-918d1bd9f967 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 3 で見つけた異常検知の続報チェックを含めること。
-
7Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。
Affected packages
References
- advisory https://nvd.nist.gov/vuln/detail/CVE-2026-34585
- package https://github.com/siyuan-note/siyuan
- web https://github.com/siyuan-note/siyuan/security/advisories/GHSA-ff66-236v-p4fg
- web https://github.com/siyuan-note/siyuan/commit/918d1bd9f967d888f474f6764744a3d8cca4a501
- web https://github.com/siyuan-note/siyuan/issues/17246
- web https://github.com/siyuan-note/siyuan/releases/tag/v3.6.2