SiYuanの脆弱性、表の見出し経由で遠隔からコードを実行される
Summary
SiYuanの3.8.10より前のバージョンには、表の見出しに含まれる内容が保存時に無害化されず、インポートや同期の際にスクリプトが実行される保存型のクロスサイトスクリプティングの脆弱性があります。Electronクライアントで遠隔からコードを実行される恐れがあり、CVSSv3は9.6と深刻です。3.8.10で修正されているため、速やかに修正版へ更新してください。
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より前のバージョンには、表の見出しに含まれる内容が保存時に無害化されず、インポートや同期の際にスクリプトが実行される保存型のクロスサイトスクリプティングの脆弱性があります。Electronクライアントで遠隔からコードを実行される恐れがあり、CVSSv3は9.6と深刻です。3.8.10で修正されているため、速やかに修正版へ更新してください。
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 persists a table block's caption attribute into IAL properties without HTML sanitization, causing stored cross-site scripting upon import or sync. Attackers can inject an entity-encoded caption with an onerror handler that executes in the Electron client's nodeIntegration context to achieve remote code execution.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- web github.com