CVE Catalog

CVE-2026-105220

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.15%

4th percentile - higher than 4% of all known CVEs

Summary

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.

Risk Assessment

The organization is at risk of malicious code execution on user workstations, which can lead to system compromise, data theft, or malware propagation.

Recommendation

Update Twine 2 to a version newer than 2.12.0 that includes the XSS fix, or avoid importing untrusted story files.

Related vulnerabilities

Original NVD description (English source)

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 data from NVD (NIST) · CISA KEV · EPSS