{"answers":{"affected":"1 open source package ship an affected version, including siyuan.","exploited":"There is no known exploitation of CVE-2026-137470 in the wild and no public exploit code.","exposure":"","fix":"Upgrade siyuan to 3.8.11 or later.","what":"CVE-2026-137470 is a high-severity vulnerability in siyuan-note siyuan, published on 26 Nov 2026."},"fix_prompt":"Check this codebase for CVE-2026-137470 and fix it if it is affected.\n\nWhat it is: CVE-2026-137470 is a high-severity vulnerability in siyuan-note siyuan, published on 26 Nov 2026. \nExploitation: There is no known exploitation of CVE-2026-137470 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- siyuan (npm): affected all versions; fixed in 3.8.11\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-137470/ (Markdown: https://insights.sbomify.com/CVE-2026-137470/index.md)","id":"CVE-2026-137470","markdown":"https://insights.sbomify.com/CVE-2026-137470/index.md","name":"CVE-2026-137470","record":{"aliases":["GHSA-8mjj-857q-w485","GHSA-x62v-7955-xx6v"],"analysis":null,"analysis_generated_by":null,"assigner":"VulnCheck","component":null,"cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"SiYuan before 3.8.11 contains a stored cross-site scripting vulnerability that allows attackers to inject DOM event handlers by storing handler-named block attributes such as onmouseover. Attackers can share crafted .sy.zip packages or Markdown files whose attributes reach renderCustom or the unsanitised preview pane, executing OS commands via Node integration in the desktop app.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"SiYuan before 3.8.11 Stored XSS to RCE via Block Attribute Names","id":"CVE-2026-137470","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2026"},"main_cpe":null,"main_fixed":["3.8.11"],"main_package":"siyuan","n_packages":1,"n_references":2,"n_vendor_status":0,"next":{"headline":"SiYuan before 3.8.10 XSS via WebDAV Sync Error Notification","id":"CVE-2026-137471"},"nickname":null,"packages":[{"ecosystem":"npm","fixed":["3.8.11"],"introduced":["0"],"last_affected":[],"name_kind":null,"package":"siyuan","purl":"pkg:npm/siyuan","purl_source":"cna","scope":"upstream","source":"CVE-2026-137470"}],"prev":{"headline":"SiYuan 3.7.0 before 3.8.11 DOM XSS via AI Agent Chat Panel","id":"CVE-2026-137469"},"products":["siyuan"],"published":"2026-11-26","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","text_fixes":[],"updated":"2026-11-26","vendor_status":[],"vendors":["siyuan-note"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-137470/"}