SecurityContext

CVE-2026-44670: SiYuan - Stored XSS & Remote Code Execution

  • Cve: CVE-2026-44670
  • Name: SiYuan - Stored XSS & Remote Code Execution
  • Description: SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, the kernel stores Attribute View (AV / database) names without any HTML escape, then a render template uses raw strings.ReplaceAll(tpl, "${avName}", nodeAvName) to embed the name in HTML before pushing to all clients via WebSocket. Three independent client paths (render.ts:120 → outerHTML, Title.ts:401 → innerHTML, transaction.ts:559 → innerHTML) consume the value without escaping. Because the main BrowserWindow runs nodeIntegration:true, contextIsolation:false, webSecurity:false (app/electron/main.js:407-411), HTML injection in the renderer becomes Node.js code execution. This vulnerability is fixed in 3.7.0.
  • Impact: Attackers can execute arbitrary Node.js code in the renderer, leading to full system compromise.
  • Remediation: Update to version 3.7.0 or later.
  • Vulnerability type: stored_xss
  • Vulnerability impact: remote_code_execution
  • Requirement type: user_interaction
  • Requirements: Attacker needs to inject malicious Attribute View names consumed by clients
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.4
  • Cvss vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Epss score: 0.00509
  • Epss percentile: 0.44307
  • Assignee: [email protected]
  • Published at: 2026-05-14T19:16:38Z
  • Age in days: 194
  • Modified at: 2026-06-17T10:51:13Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-44670
  • Nvd status: deferred
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

References

UrlSourceTags
https://github.com/siyuan-note/siyuan/security/advisories/GHSA-2h64-c999-c9r6nvd

Products

ProductAffectedPlatform boundSourcesUrl
b3log:siyuan< 3.7.0nocna_alias_text/v1/products/b3log/siyuan

Projects

RepositoryLink kindsIndexedUrl
siyuan-note/siyuanpackage, security_advisoryyes/v1/repositories/siyuan-note/siyuan

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 354
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports