| 标题 | SIYuan siyuan-note 3.1.0 XSS |
|---|
| 描述 | PDF preview with XSS causing command execution
A type check was missing when handling fonts in PDF.js, which would allow arbitrary JavaScript execution in the PDF.js context.
If pdf.js is used to load a malicious PDF, and PDF.js is configured with isEvalSupported set to true (which is the default value), unrestricted attacker-controlled JavaScript will be executed in the context of the hosting domain.
For details, please refer to the github issue |
|---|
| 来源 | ⚠️ https://github.com/siyuan-note/siyuan/issues/11949 |
|---|
| 用户 | guchangan1 (UID 69837) |
|---|
| 提交 | 2024-07-11 05時44分 (2 年前) |
|---|
| 管理 | 2024-07-20 08時18分 (9 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 271993 [SiYuan 3.1.0 PDF PDF.js 跨网站脚本] |
|---|
| 积分 | 20 |
|---|