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

Tue, 06 Oct 2026 21:30:00 +0000

Type Values Removed Values Added
First Time appeared Klembot
Klembot twinejs
Vendors & Products Klembot
Klembot twinejs

Mon, 05 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Sun, 04 Oct 2026 22:45:00 +0000

Type Values Removed Values Added
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.
Title Twine 2 Desktop through 2.12.0 Arbitrary Code Execution via Imported Story Files
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published: 2026-10-04T22:31:46.420Z

Updated: 2026-10-05T15:06:50.786Z

Reserved: 2026-10-04T13:04:00.479Z

Link: CVE-2026-105220

cve-icon Vulnrichment

Updated: 2026-10-05T15:04:54.687Z

cve-icon NVD

Status : Deferred

Published: 2026-10-04T23:16:59.627

Modified: 2026-10-06T16:08:43.180

Link: CVE-2026-105220

cve-icon Redhat

No data.