← Back to search

CVE-2026-105220

7.8 HIGHpublic exploit available

Published 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

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.