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

Published Mar 24, 2023
·
Updated

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.

Other sources

Fortra Cobalt Strike User Interface contains an unspecified vulnerability rooted in Java Swing that may allow remote code execution.

CISA

Affected Software

2 affected components
HelpSystems Cobalt Strike=4.7.1
Fortra Cobalt Strike

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Ensure text displayed in Swing components is properly escaped or disable HTML rendering for untrusted content. Sanitize or strip HTML tags before passing data to Swing UI components to prevent interpretation of injected HTML.

    Cobalt Strike User Interface (Java Swing) HTML rendering / escaping = escape or disable HTML rendering for displayed text
  2. Compensating control

    Restrict access to the Cobalt Strike user interface to trusted administrators only (for example via firewall rules, VPN, or network segmentation) and do not expose the management/UI ports to untrusted networks until a vendor fix is available.

Event History

Mar 24, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeaknessAffected Software
Mar 30, 2023
Known Exploited
via CISA·12:00 AM
Sep 19, 2025
News Published
via BleepingComputer·02:20 PM
Sep 23, 2025
News Published
via BleepingComputer·02:23 PM

Frequently Asked Questions

1

What is CVE-2022-42948?

CVE-2022-42948 is a vulnerability in Fortra Cobalt Strike User Interface that allows remote code execution.

2

What is the affected software for CVE-2022-42948?

The affected software for CVE-2022-42948 is Fortra Cobalt Strike.

3

How does the vulnerability in CVE-2022-42948 occur?

The vulnerability in CVE-2022-42948 is rooted in Java Swing within the Fortra Cobalt Strike User Interface.

4

What is the severity of CVE-2022-42948?

The severity of CVE-2022-42948 is not specified.

5

Is there a fix for CVE-2022-42948?

Yes, a fix for CVE-2022-42948 is available in the latest update of Fortra Cobalt Strike (version 4.7.2).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203