CVE-2022-42948: Fortra Cobalt Strike User Interface Remote Code Execution
Fortra Cobalt Strike · listed in the CISA catalog of actively exploited vulnerabilities since 2023-03-30.
- CVSS v3.1 (CISA ADP)
- 9.8
- critical
- EPSS (exploit probability, 30 days)
- 2.7%
- higher than 86.3% of all CVEs
- Added to CISA KEV
- 2023-03-30
- US federal due date 2023-04-20
- Automatable (CISA SSVC)
- yes
- technical impact: total
CVE-2022-42948 explained
CVE-2022-42948 is a remote code execution vulnerability in Fortra Cobalt Strike. Cobalt Strike 4.7.1 does not properly escape HTML tags shown on Swing components, so injected HTML can lead to code execution in the Cobalt Strike user interface. CISA lists it as known to be exploited, which makes prompt patching important.
Impact
An attacker who injects crafted HTML that the Cobalt Strike UI displays can execute code remotely on the system running the UI. The CVSS data shows network attack, low complexity, and no privileges or user interaction required. Confidentiality, integrity and availability impact are high. CISA rates it automatable with total technical impact, meaning exploitation at scale is possible and the affected component can be fully controlled. Attackers are known to exploit it.
Who is affected
The description names Cobalt Strike 4.7.1 as affected. The CVE record's product entry for Fortra Cobalt Strike lists no affected versions, and the record names no fixed version. This does not mean no fix exists. Check the Fortra vendor advisory for the versions that contain the fix and follow CISA's required action to apply updates per vendor instructions.
Written with AI from the data on this page and checked against it automatically.
Official 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.
CISA notes
How to fix it
- The CVE record names no fixed version – check the vendor advisory and CISA's required action for updates and mitigations.
- Vendor advisory: cobaltstrike.com/blog
- CISA's deadline for US federal agencies: 2023-04-20 (passed) – a useful benchmark for everyone else, too.
What to do
- Identify all systems running Cobalt Strike, especially
4.7.1. - Apply the update Fortra provides, following the vendor advisory instructions.
- Restrict network exposure of Cobalt Strike team servers and clients to trusted operators only.
- Check systems running the Cobalt Strike UI for signs of compromise.
- Federal agencies: complete remediation per CISA's required action, due by 2023-04-20.
The CVE record names no fixed version. Follow the Fortra vendor advisory to find and install the update, as CISA requires ('Apply updates per vendor instructions.'). Until updated, limit who can reach Cobalt Strike servers and clients, avoid processing untrusted data in the UI, and monitor affected systems for signs of compromise.
Written with AI from the data on this page and checked against it automatically.
CISA's assessment (SSVC)
- Exploitation
- Exploited in the wild
- Automatable
- Yes – attackers can automate it at scale
- Technical impact
- Total – full control of the component or total information disclosure
Weakness: CWE-116 Improper Encoding or Escaping of Output
Questions about CVE-2022-42948
- Is CVE-2022-42948 being exploited?
- Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 2023-03-30. Whether it is used in ransomware campaigns is unknown.
- Which version is affected?
- The description names Cobalt Strike
4.7.1. The CVE record itself lists no affected or fixed versions, so consult the Fortra vendor advisory for details. - Where does the code run?
- Code executes in the Cobalt Strike UI, on the system where an operator views the injected HTML content rendered by Swing components.
Written with AI from the data on this page and checked against it automatically.
References
Trackers and catalogs
Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-22. Always confirm with the vendor's or distribution's advisory before patching.