Published At-24 Jun, 2026 | 22:16
Updated At-24 Jun, 2026 | 22:16
SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, it does not escape the untrusted fields (name, version, author, description) when they are serialized into the data-obj HTML attribute of each marketplace card. Because the attribute is single-quoted and the value is produced with JSON.stringify() (which does not escape ', <, or >), a package whose name contains a single quote breaks out of the attribute and injects arbitrary HTML. In the desktop client the main BrowserWindow runs with nodeIntegration: true, contextIsolation: false, so the injected markup escalates from DOM XSS to arbitrary OS command execution. This is the same root cause and same impact as the original advisory, reached through a sibling sink the patch did not cover. This vulnerability is fixed in 3.7.0.
CISA Catalog
| Date Added | Due Date | Vulnerability Name | Required Action |
|---|
| N/A | | |
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
| Type | Version | Base score | Base severity | Vector |
|---|
| Secondary | 3.1 | 9.0 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
Type: Secondary
Version: 3.1
Base score: 9.0
Base severity: CRITICAL
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Weaknesses
| CWE ID | Type | Source |
|---|
| CWE-79 | Primary | security-advisories@github.com |
| CWE-94 | Primary | security-advisories@github.com |
| CWE-116 | Primary | security-advisories@github.com |
Type: Primary
Source: security-advisories@github.com
Type: Primary
Source: security-advisories@github.com
Type: Primary
Source: security-advisories@github.com
Change History
0Changes found