Vulnerability · Published Oct 4, 2026 · Assigned by VulnCheck

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

High 7.8

In plain English

A high-severity cross-site scripting in twinejs from klembot. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 12% of all known vulnerabilities).

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.2%top 88.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected products (as reported)

VendorProductVersions
klembot twinejs 0 – through 2.12.0

Weakness: CWE-79 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References