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.
CVE-2026-105220
Score 7.8 from GitHub Security Advisory (severity: HIGH) published 2026-10-05. A secondary CVSS source baseline 7.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
An upstream fix is merged but not yet released — mitigate (WAF / firewall / segmentation) until the release ships, then apply it.
- CVSS v3
- 7.8
- EG Score
- 7.8HIGHhigh confidence
- EG Risk
- 40EG Risk 40/100CISA SSVC
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity78% × 45%Exploitation0% × 40%Automatability30% × 15%CISA SSVC: Track at low or medium mission impact; Track or Attend at high (mission-essential systems).Action: An upstream fix is merged but not yet in a tagged release. Restrict network exposure of the affected system or apply the vendor's mitigation within your standard update timelines at low or medium mission impact and sooner than that at high until it ships, then apply the release. - EPSS PROB
- —
- EPSS %ILE
- —
- KEV
- Not listed
CISA SSVCTrack at low or medium mission impact; Track or Attend at high (mission-essential systems).
An upstream fix is merged but not yet in a tagged release. Restrict network exposure of the affected system or apply the vendor's mitigation within your standard update timelines at low or medium mission impact and sooner than that at high until it ships, then apply the release.
Exploitation none (no KEV listing, exploit record or EPSS ≥ 50%) · Automatable unknown (not published for this CVE) · Technical impact partial (CVSS below 9.0). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
October 4, 2026
Last Modified
October 4, 2026
Advisory Details (7)
Auto-updated Oct 4, 2026Twine 2 Desktop through 2.12.0 Arbitrary Code Execution via Imported Story Files | Advisories | VulnCheck
https://www.vulncheck.com/advisories/twine-2-desktop-through-2.12.0-arbitrary-code-execution-via-imported-story-filescommit 3a9af28cabe9 (klembot/twinejs)
Fix landed in klembot/twinejs commit 3a9af28cabe9 — awaiting tagged release
https://github.com/klembot/twinejs/commit/3a9af28cabe9684730beb8b578132cad9bb5bc60commit 8e8a2bef5b1e (klembot/twinejs)
Fix landed in klembot/twinejs commit 8e8a2bef5b1e — awaiting tagged release
https://github.com/klembot/twinejs/commit/8e8a2bef5b1e20c58b99d22a2a4d8d867fb421cbtwinejs/src/electron/main-process/scratch-file.ts at 2.12.0 · klembot/twinejs · GitHub
https://github.com/klembot/twinejs/blob/2.12.0/src/electron/main-process/scratch-file.ts#L57-L63twinejs/src/util/import.ts at 2.12.0 · klembot/twinejs · GitHub
https://github.com/klembot/twinejs/blob/2.12.0/src/util/import.ts#L134-L136GitHub - klembot/twinejs: Twine, a tool for telling interactive, nonlinear stories · GitHub
https://github.com/klembot/twinejsImporting a malicious story file executes embedded HTML at import time (detached innerHTML parse) → XSS in the editor → RCE via the twineElectron bridge · Issue #1706 · klembot/twinejs · GitHub
https://github.com/klembot/twinejs/issues/1706Vendor Advisories for CVE-2026-105220(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 5× in last 7d / 5× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-10-05 10:25 UTCEG score recompute
- 2026-10-05 10:25 UTCGHSA enrichment
- 2026-10-04 23:35 UTCEG score recompute
- 2026-10-04 22:43 UTCEG score recompute
- 2026-10-04 22:43 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Frequently asked(4)
What is CVE-2026-105220?
When was CVE-2026-105220 disclosed?
What is the CVSS score of CVE-2026-105220?
How do I remediate CVE-2026-105220?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-105220
Is Your Infrastructure Affected by CVE-2026-105220?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.