{"schema":"threatline.record/2","record":{"id":"CVE-2026-105220","aliases":[],"summary":"Twine 2 Desktop through 2.12.0 Arbitrary Code Execution via Imported Story Files","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.","categories":["Unclassified"],"product":"twinejs","vendor":"klembot","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-105220","source_modified_at":"2026-10-05T15:06:50.786Z","fetched_at":"2026-10-23T18:52:38.922436Z","product":"twinejs","vendor":"klembot","versions":[{"version":"0","lessThanOrEqual":"2.12.0","status":"affected","versionType":"custom"}],"defaultStatus":"unaffected"}],"fixed_versions":[],"cvss":8.5,"severity":"High","kev":{"listed":false},"epss":{"probability":0.00151,"percentile":0.03951,"score_date":"2026-10-23"},"published_at":"2026-10-04T22:31:46.420Z","modified_at":"2026-10-05T15:06:50.786Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-105220","fetched_at":"2026-10-23T18:52:38.922436Z","source_modified_at":"2026-10-05T15:06:50.786Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-105220","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/klembot/twinejs/issues/1706","tags":["exploit"]},{"source":"CVE List","url":"https://github.com/klembot/twinejs","tags":["product"]},{"source":"CVE List","url":"https://github.com/klembot/twinejs/blob/2.12.0/src/util/import.ts#L134-L136","tags":["technical-description"]},{"source":"CVE List","url":"https://github.com/klembot/twinejs/blob/2.12.0/src/electron/main-process/scratch-file.ts#L57-L63","tags":["technical-description"]},{"source":"CVE List","url":"https://github.com/klembot/twinejs/commit/8e8a2bef5b1e20c58b99d22a2a4d8d867fb421cb","tags":["patch"]},{"source":"CVE List","url":"https://github.com/klembot/twinejs/commit/3a9af28cabe9684730beb8b578132cad9bb5bc60","tags":["patch"]},{"source":"CVE List","url":"https://www.vulncheck.com/advisories/twine-2-desktop-through-2.12.0-arbitrary-code-execution-via-imported-story-files","tags":["third-party-advisory"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total","assessed_at":"2026-10-05T15:04:38.321934Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-05T15:06:50.786Z","content_hash":"753770d572a871e6a7d282a7f5fa54af1f699a26d0e89fe53ec58b0dd52b62cd"}}
