{"id":"CVE-2026-145602","summary":"SiYuan 3.8.10 before 3.8.12 DOM XSS via AI Agent Session Title","details":"SiYuan from 3.8.10 before 3.8.12 contains a DOM-based cross-site scripting vulnerability in AgentSessionPanel.ts, where model-generated session titles are inserted into an aria-label without escaping double quotes. Attackers can use prompt injection in a document to make the model return a title carrying an event handler, executing script and, on desktop, OS-level code via Node.js when the user hovers the session row.","aliases":["GHSA-w76m-fh7h-34m6"],"modified":"2026-12-06T02:02:35.036257029Z","published":"2026-12-06T00:17:41.608Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145602.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145602.json"},{"type":"ADVISORY","url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-w76m-fh7h-34m6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-145602"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/siyuan-3.8.10-before-3.8.12-dom-xss-via-ai-agent-session-title"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/siyuan-note/siyuan","events":[{"introduced":"be17ed1e0510bb6371cb8a162e16898a697fa118"},{"fixed":"c901a60323f3ad22867145f16ace0cface627b5a"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"3.8.10"},{"fixed":"3.8.12"}],"source":"AFFECTED_FIELD"}]}}],"versions":["v3.8.11","v3.8.10"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-145602.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}