CVE-2026-105220

published 4 Oct 2026 · updated 5 Oct 2026

Twine 2 Desktop through 2.12.0 Arbitrary Code Execution via Imported Story Files

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
klembot<=2.12.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-105220 severity on Zeptric[![CVE-2026-105220](https://zeptric.io/badge/cve/CVE-2026-105220.svg)](https://zeptric.io/cve/CVE-2026-105220)