| Title | SIYuan siyuan-note 3.1.0 XSS |
|---|
| Description | 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 |
|---|
| Source | ⚠️ https://github.com/siyuan-note/siyuan/issues/11949 |
|---|
| User | guchangan1 (UID 69837) |
|---|
| Submission | 07/11/2024 05:44 (2 years ago) |
|---|
| Moderation | 07/20/2024 08:18 (9 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 271993 [SiYuan 3.1.0 PDF PDF.js cross site scripting] |
|---|
| Points | 20 |
|---|