PT-2026-63971 · Siyuan · Siyuan

·

CVE-2026-65605

·

Published

2026-07-23

·

Updated

2026-07-23

CVSS v3.1

9.6

Critical

VectorAV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions SiYuan versions prior to 3.7.2
Description A stored cross-site scripting issue exists in the Attribute View (database) cell rendering. A Template column value is rendered as HTML via text/template without auto-escaping. The EscapeHTML function is only triggered when HasUnclosedHtmlTag() returns true. Since balanced self-closing tags, such as <img>, bypass this check, malicious payloads can be stored unescaped and later inserted into the page via innerHTML. In the desktop renderer, where nodeIntegration is enabled, the injected script can access the require function, potentially leading to arbitrary command execution.
Recommendations Update SiYuan to version 3.7.2 or later.

Exploit

Fix

RCE

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-65605
GHSA-PW5C-QHF3-JHWH

Affected Products

Siyuan