CVE-2022-42948
CRITICAL 9.8CVSS 3.1known exploitedFortra Cobalt Strike User Interface Remote Code Execution Vulnerability
Cobalt Strike 4.7.1 fails to properly escape HTML tags when they are displayed on Swing components. By injecting crafted HTML code, it is possible to remotely execute code in the Cobalt Strike UI.
- Published
- 24 Mar 2023
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-116CWE-79
- Sources
- NVDJSONCISA KEVJSON
In CISA's Known Exploited Vulnerabilities catalog since 30 Mar 2023; US federal agencies must fix it by 20 Apr 2023.
Apply updates per vendor instructions.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | helpsystems | cobalt_strikecpe:2.3:a:helpsystems:cobalt_strike:4.7.1:*:*:*:*:*:*:* |
= 4.7.1 |
References
- https://thesecmaster.com/how-to-fix-cve-2022-42948-a-critical-rce-vulnerability-in-cobalt-strike/ · Technical Description, Third Party Advisory
- https://www.cobaltstrike.com/blog/ · Vendor Advisory
- https://www.redpacketsecurity.com/helpsystems-cobalt-strike-code-execution-cve-2022-42948/ · Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-42948 · US Government Resource
- https://www.cobaltstrike.com/blog/out-of-band-update-cobalt-strike-4-7-2/
- https://nvd.nist.gov/vuln/detail/CVE-2022-42948
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 24 Mar 2023)
- 25 Nov 2026 20:10 UTC · CISA KEV: first stored (published 30 Mar 2023)
- 30 Mar 2023 00:00 UTC · Listed as known exploited