CVE-2026-65605
criticalpriority · track · 0EPSS 0.008 · 56 %ileEUEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.7–9.6
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (1)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (9)
External citations — patches, advisories, analysis.
- https://github.com/siyuan-note/siyuan/commit/41f2861c87575ff5ac4b50a0520b1a4fe55b4a70cnnvd
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-pw5c-qhf3-jhwhcnnvd
- https://www.vulncheck.com/advisories/siyuan-before-stored-xss-to-rce-via-attribute-viewcnnvd
- https://github.com/siyuan-note/siyuan/commit/41f2861c87575ff5ac4b50a0520b1a4fe55b4a70enisa_euvd
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-pw5c-qhf3-jhwhenisa_euvd
- https://www.vulncheck.com/advisories/siyuan-before-stored-xss-to-rce-via-attribute-viewenisa_euvd
- https://github.com/siyuan-note/siyuan/commit/41f2861c87575ff5ac4b50a0520b1a4fe55b4a70nvd
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-pw5c-qhf3-jhwhnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan