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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-79"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145602.json"
}