Skip to main content
VulnerabilityPublished

CVE-2026-33066: siyuan · Cross-site Scripting

Affects siyuanSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 5.3 Medium : upgrade to 3.6.1 when convenient.

Data as of 1 Nov 2026, 22:58 UTC

CVSS 4.0 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 48% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.6.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Nov 2026.

What to do

Upgrade siyuan and siyuan-note/siyuan to 3.6.1.

Affected software

ProductAffectedFixed in
siyuan-notesiyuanAffected
  • <3.6.1
Fixed in
  • 3.6.1
GitHubsiyuan-note/siyuanpkg:github/siyuan-note/siyuanOther threatsAffected
  • <3.6.1
Fixed in
  • 3.6.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Organizations and users should immediately upgrade SiYuan to version 3.6.1 or later, where the vulnerability is patched by enabling HTML sanitization in the Markdown renderer. Until upgrading, users should avoid opening or viewing README files from untrusted or unknown package authors. Electron application configurations should be hardened by disabling nodeIntegration and enabling contextIsolation to reduce the risk of XSS leading to RCE. Implementing Content Security Policy (CSP) within the Electron app can further mitigate script injection risks. Regularly audit and monitor package sources for suspicious content. Employ endpoint protection solutions capable of detecting anomalous script execution or unauthorized command execution. Educate users about the risks of opening untrusted content within the application. Finally, maintain up-to-date backups and incident response plans to quickly recover from potential compromises.

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.

References

Community reviews

Loading reviews…