CVE-2026-65605 SiYuan before v3.7.2 Stored XSS to RCE via Attribute View
Stored XSS in SiYuan allows arbitrary command execution via nodeIntegration when viewing malicious database entries.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-65605?
CVE-2026-65605 is a critical cross-site scripting vulnerability in siyuan-note siyuan, published on 23 Jul 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
SiYuan before v3.7.2 contains a stored cross-site scripting vulnerability in Attribute View (database) cell rendering. A Template column value is rendered as HTML via text/template without auto-escaping, and EscapeHTML is only applied when HasUnclosedHtmlTag returns true; because balanced self-closing tags such as <img> are skipped by that check, a payload like <img src=x onerror=...> is stored unescaped and later inserted into the page via innerHTML, executing when the database is viewed. Because the desktop renderer runs with nodeIntegration enabled, the injected script can reach require and escalate to arbitrary command execution.
Weakness: CWE-79
Which versions are affected by CVE-2026-65605?
How do I fix CVE-2026-65605?
No fix has been published for CVE-2026-65605 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-65605 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-65605 exists.
Sources
Also known as GHSA-99f6-8pmj-83xw, GHSA-pw5c-qhf3-jhwh.