CVE-2026-65605
Severity CVSS v4.0:
CRITICAL
Type:
CWE-79
Cross-Site Scripting (XSS)
Publication date:
23/07/2026
Last modified:
23/07/2026
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 are skipped by that check, a payload like 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.
Impact
Base Score 4.0
9.40
Severity 4.0
CRITICAL
Base Score 3.x
9.60
Severity 3.x
CRITICAL
References to Advisories, Solutions, and Tools
- https://github.com/siyuan-note/siyuan/commit/41f2861c87575ff5ac4b50a0520b1a4fe55b4a70
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-pw5c-qhf3-jhwh
- https://www.vulncheck.com/advisories/siyuan-before-stored-xss-to-rce-via-attribute-view
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-pw5c-qhf3-jhwh



