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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| klembot twinejs | <= 2.12.0 | after 2.12.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| klembot twinejs | <= 2.12.0 | No fix listed |
References
- GitHub Issue #1706 exploit issue-tracking
- github.com product
- github.com technical-description
- github.com technical-description
- github.com patch
- github.com patch
- VulnCheck Advisory: Twine 2 Desktop through 2.12.0 Arbitrary Code Execution via Imported Story Files third-party-advisory
- ENISA EUVD EUVD-2026-92133 third-party-advisory