{"id":"CVE-2026-105220","aliases":[],"url":"https://o3.security/vulnerability/CVE-2026-105220","summary":"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…","details":"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.","published":"2026-10-04T23:16:59.627","modified":"2026-10-04T23:16:59.627","cvss":{"score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[],"fix":{"url":"https://github.com/klembot/twinejs/commit/3a9af28cabe9684730beb8b578132cad9bb5bc60","label":"klembot/twinejs@3a9af28"},"references":[{"type":"WEB","url":"https://github.com/klembot/twinejs"},{"type":"WEB","url":"https://github.com/klembot/twinejs/blob/2.12.0/src/electron/main-process/scratch-file.ts#L57-L63"},{"type":"WEB","url":"https://github.com/klembot/twinejs/blob/2.12.0/src/util/import.ts#L134-L136"},{"type":"WEB","url":"https://github.com/klembot/twinejs/commit/3a9af28cabe9684730beb8b578132cad9bb5bc60"},{"type":"WEB","url":"https://github.com/klembot/twinejs/commit/8e8a2bef5b1e20c58b99d22a2a4d8d867fb421cb"},{"type":"WEB","url":"https://github.com/klembot/twinejs/issues/1706"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/twine-2-desktop-through-2.12.0-arbitrary-code-execution-via-imported-story-files"}],"provenance":{"sources":["OSV.dev","NVD","FIRST.org (EPSS)"],"lastVerified":"2026-10-04T23:16:59.627"}}