CVE-2022-23465
HIGH 7.8CVSS 3.1SwiftTerm Code Injection vulnerability
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.
- Published
- 2 Dec 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-94
- Also known as
- GHSA-jq43-q8mx-r7mq
- Sources
- NVDJSONOSV GHSA-jq43-q8mx-r7mqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | swiftterm_project | swifttermcpe:2.3:a:swiftterm_project:swiftterm:*:*:*:*:*:*:*:* |
< 2022-12-02 | 2022-12-02 |
| OSV | SwiftURL | github.com/migueldeicaza/SwiftTerm | < 1.2.0 | 1.2.0 |
References
- https://github.com/migueldeicaza/SwiftTerm/commit/a94e6b24d24ce9680ad79884992e1dff8e150a31 · Patch, Third Party Advisory, WEB
- https://github.com/migueldeicaza/SwiftTerm/security/advisories/GHSA-jq43-q8mx-r7mq · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-23465 · ADVISORY
- https://github.com/migueldeicaza/SwiftTerm · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 2 Dec 2022)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 14 Jul 2023)