# CVE-2022-42948: Fortra Cobalt Strike User Interface Remote Code Execution Vulnerability

> CVE-2022-42948: Fortra Cobalt Strike User Interface Remote Code Execution Vulnerability. CVSS 9.8 (CVSS 3.1), in CISA KEV.

Canonical: https://rewindex.com/cve/CVE-2022-42948
Last updated: 2025-10-21T23:15:21Z

- Published: 2023-03-24 00:00 UTC · Updated: 2025-10-21 23:15 UTC · Assigner: mitre
- CVSS: 9.8 (CVSS 3.1) · Severity: Critical · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 2.7%, 86th percentile (scored 2026-10-25)
- CISA KEV: yes, added 2023-03-30, federal due date 2023-04-20, ransomware use: Unknown

## Description

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.

## CISA required action

Apply updates per vendor instructions.

## Affected vendors and products

- Fortra: Cobalt Strike

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2022-42948)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2022-42948)
- [https://thesecmaster.com/how-to-fix-cve-2022-42948-a-critical-rce-vulnerability-in-cobalt-strike/](https://thesecmaster.com/how-to-fix-cve-2022-42948-a-critical-rce-vulnerability-in-cobalt-strike/)
- [https://www.cobaltstrike.com/blog/](https://www.cobaltstrike.com/blog/)
- [https://www.redpacketsecurity.com/helpsystems-cobalt-strike-code-execution-cve-2022-42948/](https://www.redpacketsecurity.com/helpsystems-cobalt-strike-code-execution-cve-2022-42948/)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2022-42948 · Markdown: https://rewindex.com/cve/CVE-2022-42948.md · JSON: https://rewindex.com/api/v1/cves/CVE-2022-42948 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T03:09:19.565Z
