Skip to content

CVE-2026-105220 Twine 2 Desktop through 2.12.0 Arbitrary Code Execution via Imported Story Files

HighCVSS 8.5 EPSS 0.21%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
klembot twinejs <= 2.12.0 after 2.12.0 Fixed

Affected products

ProductAffected versionsFixed in
klembot twinejs <= 2.12.0 No fix listed

References