XSS in Klembot Twinejs
CVE-2026-105220
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- github.com/klembot/twinejs/issues/1706 (issue-tracking)
- github.com/klembot/twinejs (product)
- github.com/klembot/twinejs/blob/2.12.0/src/util/import.ts (technical-description)
- github.com/klembot/twinejs/blob/2.12.0/src/electron/main-process/scratch-file.ts (technical-description)
- github.com/klembot/twinejs/commit/8e8a2bef5b1e20c58b99d22a2a4d8d867fb421cb (patch)
- github.com/klembot/twinejs/commit/3a9af28cabe9684730beb8b578132cad9bb5bc60 (patch)
- www.vulncheck.com/advisories/twine-2-desktop-through-2.12.0-arbitrary-code-exec… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-105220?
- CVE-2026-105220 is a high-severity vulnerability in Klembot Twinejs, classified under Cross-site Scripting. CVSS score: 7.8/10. Published 2026-10-04.
- How severe is CVE-2026-105220?
- High severity. CVSS v3 base score is 7.8 out of 10.