# CVE-2026-65605: SiYuan before v3.7.2 Stored XSS to RCE via Attribute View

- Severity: Critical 9.4 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.65%, higher than 52% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-23T11:42:13.521Z
- Modified: 2026-10-24T13:10:00.147Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- siyuan-note siyuan: before 3.7.2 (not affected: 3.7.2)

## Every score

- VulnCheck: CVSS:4.0 9.4 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`
- VulnCheck: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-pw5c-qhf3-jhwh> (exploit, vendor-advisory)
- <https://github.com/siyuan-note/siyuan/commit/41f2861c87575ff5ac4b50a0520b1a4fe55b4a70> (patch)
- <https://www.vulncheck.com/advisories/siyuan-before-stored-xss-to-rce-via-attribute-view> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-65605](https://www.cve.org/CVERecord?id=CVE-2026-65605), CVE Terms of Use, modified 2026-09-17
- NVD: [CVE-2026-65605](https://nvd.nist.gov/vuln/detail/CVE-2026-65605), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-65605 · Whole record: https://cve.day/CVE-2026-65605.json · Rebuilt by cve.day 2026-11-25T22:59:29.915Z
