# CVE-2026-33066: SiYuan has Stored XSS to RCE via Unsanitized Bazaar README Rendering

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-03-20 · Modified: 2026-03-20
- Aliases: GHSA-4663-4mpg-879v, GO-2026-4743
- Record: https://cvemate.com/vulnerability/CVE-2026-33066 · JSON: https://cvemate.com/vulnerability/CVE-2026-33066/json

## Description

```text
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.
```

## Signals

- CVSS: 9 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
- EPSS: 0.667%, percentile 53.241%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- b3log siyuan: \< 3.6.1
- github.com/siyuan-note/siyuan kernel (Go): \< 0.0.0-20260314111550-b382f50e1880
- siyuan-note siyuan: \< 3.6.1

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4663-4mpg-879v>
- <https://github.com/siyuan-note/siyuan/commit/b382f50e1880ed996364509de5a10a72d7409428>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33066>
- <https://github.com/siyuan-note/siyuan>

---

Data as of 2026-12-05T08:28:54.619Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
