{"id":"CVE-2026-105220","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-105220","generatedAt":"2026-10-28T08:11:00.948Z","title":"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.","description":"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:17:00.000Z","lastModified":"2026-10-06T16:08:43.000Z","status":"Deferred","sourceIdentifier":"disclosure@vulncheck.com","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/M"},"cwe":["CWE-79"],"affected":[],"epss":{"score":0.00215,"percentile":0.11813,"date":"2026-10-27","history":[{"date":"2026-10-05","score":0.00151,"percentile":0.03696}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (0.21%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[{"kind":"new","label":"New CVE","at":"2026-10-04T23:17:00.000Z","detail":{"score":"8.5","severity":"HIGH","publishedAt":"2026-10-04T23:16:59.627Z"},"summary":"New CVE, high severity (CVSS 8.5)."}],"references":[{"url":"https://github.com/klembot/twinejs","source":"disclosure@vulncheck.com"},{"url":"https://github.com/klembot/twinejs/blob/2.12.0/src/electron/main-process/scratch-file.ts#L57-L63","source":"disclosure@vulncheck.com"},{"url":"https://github.com/klembot/twinejs/blob/2.12.0/src/util/import.ts#L134-L136","source":"disclosure@vulncheck.com"},{"url":"https://github.com/klembot/twinejs/commit/3a9af28cabe9684730beb8b578132cad9bb5bc60","source":"disclosure@vulncheck.com"},{"url":"https://github.com/klembot/twinejs/commit/8e8a2bef5b1e20c58b99d22a2a4d8d867fb421cb","source":"disclosure@vulncheck.com"},{"url":"https://github.com/klembot/twinejs/issues/1706","source":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/twine-2-desktop-through-2.12.0-arbitrary-code-execution-via-imported-story-files","source":"disclosure@vulncheck.com"},{"url":"https://github.com/klembot/twinejs/issues/1706","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-105220","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}