CVE-2026-105220: klembot twinejs · Cross-site Scripting
Affects klembot twinejsSource CVE Database V5
Not known to be exploited · CVSS 8.5 High.
Data as of 19 Nov 2026, 20:25 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 12% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 4 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 19 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| klembottwinejs | Affected
| Fixed in– |
GitHubklembot/twinejspkg:github/klembot/twinejsOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, users should avoid importing untrusted story files into Twine 2 desktop. Monitor official klembot channels for updates and apply any released patches promptly.
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.
References
- github.com/klembot/twinejs/issues/1706 (opens in a new tab)
- github.com/klembot/twinejs (opens in a new tab)
- github.com/klembot/twinejs/blob/2.12.0/src/util/import.ts (opens in a new tab)
- github.com/klembot/twinejs/blob/2.12.0/src/electron/main-process/scratch-file.ts (opens in a new tab)
- github.com/klembot/twinejs/commit/8e8a2bef5b1e20c58b99d22a2a4d8d867fb421cb (opens in a new tab)
- github.com/klembot/twinejs/commit/3a9af28cabe9684730beb8b578132cad9bb5bc60 (opens in a new tab)
- vulncheck.com/advisories/twine-2-desktop-through-2.12.0-arbitrary-code-execution-via-imported-story-files (opens in a new tab)