{
  "id": "CVE-2026-105220",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-105220",
  "published_at": "2026-10-04T22:31:46.42Z",
  "title": "Twine 2 Desktop through 2.12.0 Arbitrary Code Execution via Imported Story Files",
  "vendor": "klembot",
  "product": "twinejs",
  "cvss": {
    "score": 8.5,
    "source": "cna",
    "vector": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-79",
  "cvss_by_source": {
    "cna": 8.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "klembot",
        "product": "twinejs",
        "ranges": [
          "\u003c= 2.12.0"
        ],
        "fixed_in": null
      }
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/klembot/twinejs/commit/8e8a2bef5b1e20c58b99d22a2a4d8d867fb421cb"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/klembot/twinejs/commit/3a9af28cabe9684730beb8b578132cad9bb5bc60"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
