SiYuan にXSSの脆弱性、罠リンクから任意のスクリプトを実行されるおそれ
Summary
SiYuan の /check-auth ページで to パラメータの URI 検証が不十分なため、javascript: 形式の細工したリンクからクロスサイトスクリプティングが起きるおそれがあります。影響を受けるのは 2.9.0 以上 3.8.7 未満のバージョンで、3.8.7 以降に更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
SiYuan の /check-auth ページで to パラメータの URI 検証が不十分なため、javascript: 形式の細工したリンクからクロスサイトスクリプティングが起きるおそれがあります。影響を受けるのは 2.9.0 以上 3.8.7 未満のバージョンで、3.8.7 以降に更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| siyuan-notesiyuan |
≥ 2.9.0, < 3.8.7→ 3.8.7 |
3.8.7 |
Original description The description as published by the source.
SiYuan from 2.9.0 before 3.8.7 contains a cross-site scripting vulnerability in the unauthenticated /check-auth page that assigns the to parameter to window.location.href without scheme validation. Attackers can send a crafted link with a javascript: URI that executes after victim login, invoking kernel APIs to read or modify workspace content and settings.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- web github.com