{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-105220","published":"2026-10-04T23:16:59.627000Z","last_modified":"2026-10-06T16:08:43.180000Z","status":"Deferred","cvss":{"version":"4.0","score":8.5,"severity":"HIGH","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"disclosure@vulncheck.com","primary":false},"auth":true,"cwes":["CWE-79"],"cpes":[],"cpes_truncated":false,"vendors":["klembot"],"products":["klembot/twinejs"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":51,"links":{"html_es":"/es/cve/CVE-2026-105220/","html_en":"/en/cve/CVE-2026-105220/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-105220","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-105220"},"untrusted":{"vendor_name":"klembot","product_name":"twinejs","desc_en":"Twine 2 desktop through 2.12.0 contains a cross-site scripting vulnerability in importStories() that executes markup from imported story files in the editor window. Attackers can craft a story file whose script calls the twineElectron openWithScratchFile IPC bridge to write and open a .bat file, executing code as the user.","affected":[{"untrusted_vendor":"klembot","untrusted_product":"twinejs","versions":[]}],"references":[{"url":"https://github.com/klembot/twinejs","tags":[]},{"url":"https://github.com/klembot/twinejs/blob/2.12.0/src/electron/main-process/scratch-file.ts#L57-L63","tags":[]},{"url":"https://github.com/klembot/twinejs/blob/2.12.0/src/util/import.ts#L134-L136","tags":[]},{"url":"https://github.com/klembot/twinejs/commit/3a9af28cabe9684730beb8b578132cad9bb5bc60","tags":[]},{"url":"https://github.com/klembot/twinejs/commit/8e8a2bef5b1e20c58b99d22a2a4d8d867fb421cb","tags":[]},{"url":"https://github.com/klembot/twinejs/issues/1706","tags":[]},{"url":"https://www.vulncheck.com/advisories/twine-2-desktop-through-2.12.0-arbitrary-code-execution-via-imported-story-files","tags":[]}]}}