{"id":"CVE-2022-23465","published":"2022-12-02T22:53:45Z","modified":"2025-04-23T16:32:50Z","title":"SwiftTerm vulnerable to arbitrary command execution","vendor":"migueldeicaza","product":"SwiftTerm","tier":"tail","description":{"text":"SwiftTerm is a Xterm/VT100 Terminal emulator. Prior to commit a94e6b24d24ce9680ad79884992e1dff8e150a31, an attacker could modify the window title via a certain character escape sequence and then insert it back to the command line in the user's terminal, e.g. when the user views a file containing the malicious sequence, which could allow the attacker to execute arbitrary commands. Version a94e6b24d24ce9680ad79884992e1dff8e150a31 contains a patch for this issue. There are no known workarounds available.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00454,"percentile":0.40256,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/migueldeicaza/SwiftTerm/security/advisories/GHSA-jq43-q8mx-r7mq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/migueldeicaza/SwiftTerm/commit/a94e6b24d24ce9680ad79884992e1dff8e150a31","tags":["x_refsource_MISC"]}],"priority":{"score":13.0,"factors":[{"name":"EPSS percentile","points":8.05},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"migueldeicaza","affectedVersions":[{"vendor":"migueldeicaza","product":"SwiftTerm","versions":["< a94e6b24d24ce9680ad79884992e1dff8e150a31"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-23T13:53:13.010448Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"SwiftURL","package":"github.com/migueldeicaza/SwiftTerm","vulnerableRanges":["<1.2.0"],"patched":["1.2.0"],"from":["GHSA-jq43-q8mx-r7mq"],"provenance":"source"}],"euvd":{"id":"EUVD-2023-2091","exploited":false,"provenance":"source"}}