CVE-2026-65605

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.
Configurations

No configuration.

History

23 Jul 2026, 16:17

Type Values Removed Values Added
References () https://github.com/siyuan-note/siyuan/security/advisories/GHSA-pw5c-qhf3-jhwh - () https://github.com/siyuan-note/siyuan/security/advisories/GHSA-pw5c-qhf3-jhwh -

23 Jul 2026, 12:18

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-23 12:18

Updated : 2026-07-23 16:17


NVD link : CVE-2026-65605

Mitre link : CVE-2026-65605

CVE.ORG link : CVE-2026-65605


JSON object : View

Products Affected

No product.

CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')