CVE-2026-33066: SiYuan - Stored XSS & Remote Code Execution
- Cve: CVE-2026-33066
- Name: SiYuan - Stored XSS & Remote Code Execution
- Description: SiYuan is a personal knowledge management system. In versions 3.6.0 and below, the backend renderREADME function uses lute.New() without calling SetSanitize(true), allowing raw HTML embedded in Markdown to pass through unmodified. The frontend then assigns the rendered HTML to innerHTML without any additional sanitization. A malicious package author can embed arbitrary JavaScript in their README that executes when a user clicks to view the package details. Because SiYuan's Electron configuration enables nodeIntegration: true with contextIsolation: false, this XSS escalates directly to full Remote Code Execution. The issue was patched in version 3.6.1.
- Impact: Attackers can execute arbitrary JavaScript and escalate to full remote code execution on the user's system.
- Remediation: Upgrade to version 3.6.1 or later.
- Vulnerability type: stored_xss
- Vulnerability impact: remote_code_execution, stored_xss
- Requirement type: user_interaction
- Requirements: User must click to view malicious package details
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
- Epss score: 0.00667
- Epss percentile: 0.52602
- Assignee: [email protected]
- Published at: 2026-03-20T09:16:14Z
- Age in days: 249
- Modified at: 2026-06-17T10:36:53Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-33066
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4663-4mpg-879v | nvd | 2026-03-20 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/siyuan-note/siyuan/commit/b382f50e1880ed996364509de5a10a72d7409428 | nvd | Patch |
| https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4663-4mpg-879v | nvd | Exploit, Mitigation, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| b3log:siyuan | < 3.6.1 | no | nvd | /v1/products/b3log/siyuan |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| siyuan-note/siyuan | commit, fix, package, security_advisory | yes | /v1/repositories/siyuan-note/siyuan |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-03-20
- Remote: yes
- Authentication required: yes
- Exposed hosts: 354
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports