{"id":"CVE-2026-65605","aliases":["CVE-2026-65605"],"related":[],"kind":"vulnerability","state":"published","title":"SiYuan before v3.7.2 Stored XSS to RCE via Attribute View","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"SiYuan anterior a la v3.7.2 contiene una vulnerabilidad de cross-site scripting almacenado en la renderización de celdas de la Vista de Atributos (base de datos). Un valor de columna de Plantilla se renderiza como HTML a través de text/template sin auto-escapado, y EscapeHTML solo se aplica cuando HasUnclosedHtmlTag devuelve verdadero; porque las etiquetas autocerradas balanceadas como [img] son omitidas por esa verificación, una carga útil como <img src=x onerror_disabled=...> se almacena sin escapar y luego se inserta en la página a través de innerHTML, ejecutándose cuando se visualiza la base de datos. Debido a que el renderizador de escritorio se ejecuta con nodeIntegration habilitado, el script inyectado puede alcanzar require y escalar a la ejecución arbitraria de comandos.","source":"nvd"}],"published":"2026-07-23T11:42:13.521Z","modified":"2026-10-24T13:10:00.147Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":9.4,"rating":"CRITICAL"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":9.4,"rating":"CRITICAL"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":9.6,"rating":"CRITICAL"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"3.7.2","status":"affected"},{"type":"semver","version":"3.7.2","status":"unaffected"}],"vendor":"siyuan-note","product":"siyuan","source":"cvelist"}],"references":[{"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-pw5c-qhf3-jhwh","tags":["exploit","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/siyuan-note/siyuan/commit/41f2861c87575ff5ac4b50a0520b1a4fe55b4a70","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/siyuan-before-stored-xss-to-rce-via-attribute-view","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["hyuunnn"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-07-23T15:23:13.200Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-65605","url":"https://www.cve.org/CVERecord?id=CVE-2026-65605","licence":"CVE Terms of Use","modified":"2026-09-17T17:54:35.214Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-65605","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65605","licence":"Public domain","modified":"2026-10-24T13:10:00.147Z"}],"updatedAt":"2026-11-25T22:59:29.915Z","epss":{"score":0.00648,"percentile":0.52387,"date":"2026-12-01T12:00:22.000Z"}}