Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/siyuan-note/siyuan/kernel
  4. ›
  5. CVE-2026-33066

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

March 18, 2026 (updated March 20, 2026)

SiYuan’s Bazaar (community marketplace) renders package README content without HTML sanitization. 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.

References

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

Code Behaviors & Features

Detect and mitigate CVE-2026-33066 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.0.0-20260314111550-b382f50e1880

Fixed versions

  • 0.0.0-20260314111550-b382f50e1880

Solution

Upgrade to version 0.0.0-20260314111550-b382f50e1880 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

go/github.com/siyuan-note/siyuan/kernel/CVE-2026-33066.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 24 Mar 2026 12:17:57 +0000.