CVE-2026-65605
CRITICAL
CVSS 9.4
siyuan
Verified Advisory
Stored XSS to RCE via incomplete HTML escaping in SiYuan Attribute View (CVE-2026-65605)
SiYuan's Attribute View (database) template column renders cell values as HTML using text/template without auto-escaping, applying EscapeHTML only when HasUnclosedHtmlTag returns true. Because that check treats self-closing tags such as <img> as balanced and skips them, a payload like <img src=x onerror=...> is stored unescaped and injected into the page via innerHTML on view. On the desktop renderer, which runs with nodeIntegration enabled, the injected script can access require and escalate to arbitrary command execution.
Affected versions:
- <= 3.7.1
We recommend updating to: v3.7.2.
CVSS 9.4 · our assessment: act_now
Reference: https://github.com/siyuan-note/siyuan/security/advisories/GHSA-pw5c-qhf3-jhwh
Details: https://vuln.today/cve/CVE-2026-65605
Verified by vuln.today against published advisories.
Affected versions
- – <= 3.7.1
Fixed in: v3.7.2
More advisories for siyuan
- CVE-2026-73608 – Missing authorization in SiYuan getAttributeViewSearchTarget endpoint (CVE-2026-73608)
- CVE-2026-72804 – Missing publish-password check in SiYuan graph API endpoints (CVE-2026-72804)
- CVE-2026-72795 – Publish-access bypass in SiYuan embedded block endpoints (CVE-2026-72795)
- CVE-2026-72794 – Session cookie signing key disclosure in siyuan via getConf endpoint (CVE-2026-72794)
- CVE-2026-72798 – Information disclosure in SiYuan publish-mode attribute view filter (CVE-2026-72798)
- CVE-2026-72793 – Sensitive configuration disclosure in SiYuan via /api/system/getConf (CVE-2026-72793)
- CVE-2026-72789 – Authorization bypass in SiYuan encrypted notebook publish access gate (CVE-2026-72789)
- CVE-2026-68584 – Authentication bypass in SiYuan publish-mode password-protected documents (CVE-2026-68584)