CVE-2026-105220
7.8 HIGHpublic exploit availablePublished 2026-10-04 · Updated 2026-10-06
AI risk analysis
- Summary
- Twine 2 desktop versions through 2.12.0 are vulnerable to cross-site scripting, allowing attackers to execute code as the user by crafting a malicious story file.
- Exploitability
- Exploitation requires attackers to craft a specific story file and have the target open it, making it moderately difficult.
- Blast radius
- If exploited, the vulnerability could lead to full compromise of the user's system, including execution of arbitrary code.
- Detection
- No reliable host or network indicator is derivable from the published description.
- Prioritized remediation
- Upgrade to Twine 2.12.1 or later.
rcewebxss
Analysis generated locally by qwen2.5:7b-instruct (no data left the box). AI-assisted — verify against primary sources before acting.
NVD 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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weaknesses
CWE-79
Public exploit & PoC references
- https://github.com/klembot/twinejs
- https://github.com/klembot/twinejs/blob/2.12.0/src/electron/main-process/scratch-file.ts#L57-L63
- https://github.com/klembot/twinejs/blob/2.12.0/src/util/import.ts#L134-L136
- https://github.com/klembot/twinejs/commit/3a9af28cabe9684730beb8b578132cad9bb5bc60
- https://github.com/klembot/twinejs/commit/8e8a2bef5b1e20c58b99d22a2a4d8d867fb421cb
- https://github.com/klembot/twinejs/issues/1706
- https://github.com/klembot/twinejs/issues/1706
All references
- https://github.com/klembot/twinejs
- https://github.com/klembot/twinejs/blob/2.12.0/src/electron/main-process/scratch-file.ts#L57-L63
- https://github.com/klembot/twinejs/blob/2.12.0/src/util/import.ts#L134-L136
- https://github.com/klembot/twinejs/commit/3a9af28cabe9684730beb8b578132cad9bb5bc60
- https://github.com/klembot/twinejs/commit/8e8a2bef5b1e20c58b99d22a2a4d8d867fb421cb
- https://github.com/klembot/twinejs/issues/1706
- https://www.vulncheck.com/advisories/twine-2-desktop-through-2.12.0-arbitrary-code-execution-via-imported-story-files
- https://github.com/klembot/twinejs/issues/1706
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2026-100645PoC
- HIGHCVE-2026-100720PoC
- HIGHCVE-2026-108159PoC
- HIGHCVE-2026-84409PoC
- CRITICALCVE-2026-93029
- CRITICALCVE-2026-93697
- HIGHCVE-2026-93922PoC
- HIGHCVE-2026-96230
Related by shared AI tags and CWE weakness class. Browse the full archive.