Back to list

SiYuan Affected by Stored XSS via Attribute View Name to Electron Renderer RCE — CVE-2026-44670

GitHub · GitHub · CVE-2026-44670

ID
CVE-2026-44670
Date
Updated
Activity
Source
GitHub
Vendor
GitHub
Threat
critical
CVSS
9.4

Summary

## Summary 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…

Product

go: github.com/siyuan-note/siyuan/kernel

What to do

General, cautious steps (verify details in the official source):

  • Prioritize patching or mitigation immediately (treat as actively risky).
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Related advisories