{"id":"CVE-2022-23465","summary":"SwiftTerm vulnerable to arbitrary command execution","details":"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.","aliases":["GHSA-jq43-q8mx-r7mq"],"modified":"2026-08-12T03:51:13.223964681Z","published":"2022-12-02T22:53:45.174Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-94"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23465.json","unresolved_ranges":[{"extracted_events":[{"fixed":"a94e6b24d24ce9680ad79884992e1dff8e150a31"}],"source":"AFFECTED_FIELD"}]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23465.json"},{"type":"ADVISORY","url":"https://github.com/migueldeicaza/SwiftTerm/security/advisories/GHSA-jq43-q8mx-r7mq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23465"},{"type":"FIX","url":"https://github.com/migueldeicaza/SwiftTerm/commit/a94e6b24d24ce9680ad79884992e1dff8e150a31"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/migueldeicaza/swiftterm","events":[{"introduced":"0"},{"fixed":"a94e6b24d24ce9680ad79884992e1dff8e150a31"}],"database_specific":{"source":"REFERENCES"}}],"versions":["1.0.7","1.0.6","1.0.5","1.0.4","1.0.3","1.0.2","1.0.1","1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-23465.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N"}]}