XSS (Cross-Site Scripting) dans github.com/siyuan-note/siyuan/kernel (CVE-2026-34585)
Résumé
XSS dans github.com/siyuan-note/siyuan/kernel (CVE-2026-34585). L'exploitation peut entraîner la prise de contrôle totale du système. Exploitable via ``escapeNodeAttributeValues``. Atténuation : mise à jour vers `0.0.0-20260329142331-918d1bd9f967` ou plus.
Résumé IA snake-internal / snake-material-v2
Actions de réponse (7 étapes)
Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre
-
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 と同じログクエリでアラート再発が無いか継続監視。
Paquets affectés
Références
- 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