SiYuanに脆弱性、列名経由で任意のスクリプトが実行されるおそれ
Summary
SiYuanの3.8.10より前のバージョンには、属性ビューの列名が無害化されずに表示される格納型のクロスサイトスクリプティング脆弱性があります。列を追加または複製した利用者の環境で、Node.jsの権限によるJavaScriptが実行され、デスクトップアプリ上でコードを実行されるおそれがあります。3.8.10以降に更新してください。CVSSv3のスコアは9.0、CVSSv4のスコアは9.4です。
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の3.8.10より前のバージョンには、属性ビューの列名が無害化されずに表示される格納型のクロスサイトスクリプティング脆弱性があります。列を追加または複製した利用者の環境で、Node.jsの権限によるJavaScriptが実行され、デスクトップアプリ上でコードを実行されるおそれがあります。3.8.10以降に更新してください。CVSSv3のスコアは9.0、CVSSv4のスコアは9.4です。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| siyuan-notesiyuan |
< 3.8.10→ 3.8.10 |
3.8.10 |
Original description The description as published by the source.
SiYuan before 3.8.10 contains a stored cross-site scripting vulnerability that allows attackers to execute script by storing malicious Attribute View column names rendered unescaped in col.ts. Attackers can inject HTML via addAttributeViewKey, .sy.zip import, or sync, and when a victim adds or duplicates the column, insertAdjacentHTML runs JavaScript with Node.js privileges for desktop code execution.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com