Cyber Resilience

CVE-2022-42948

Helpsystems Cobalt Strike 4.7.1

CISA KEVActive ExploitationEUVD Exploited
Published
24 March 2023
Modified
03 November 2025
KEV Added
30 March 2023
Patch / advisory
CVSS Score v3.1 9.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.027 85th percentile
Risk Priority 97 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2022-42948 is a critical-severity Improper Encoding or Escaping of Output (CWE-116) vulnerability in Helpsystems Cobalt Strike. Its CVSS base score is 9.8 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Content Injection (T1659); ranked in the top 15% of CVEs by exploit likelihood; CISA has added it to the Known Exploited Vulnerabilities catalog.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

Cobalt Strike version 4.7.1 contains an improper output encoding flaw (CWE-116) in which HTML tags are not escaped before being rendered inside Java Swing components. The affected component is the Cobalt Strike client user interface, which processes and displays data that can originate from remote sources.

An unauthenticated remote attacker can supply crafted HTML that triggers arbitrary code execution inside the Cobalt Strike UI. Successful exploitation grants the attacker the same privileges as the user running the client and can result in complete compromise of confidentiality, integrity, and availability, consistent with the CVSS 9.8 rating.

Public references point to HelpSystems/Cobalt Strike advisory material and third-party remediation guidance, although specific patch or configuration details are not enumerated in the supplied references. The EPSS score has remained in the 0.22–0.24 range with no material post-disclosure climb.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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.

CWE(s)
KEV Date Added
30 March 2023

Related Threats

MITRE ATT&CK Enterprise Techniques

T1659 Content Injection Initial Access
Adversaries may gain access and continuously communicate with victims by injecting malicious content into systems through online network traffic.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1059 Command and Scripting Interpreter Execution
Adversaries may abuse command and script interpreters to execute commands, scripts, or binaries.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2022-39197Same product: Helpsystems Cobalt Strikeboth on KEV
CVE-2026-20245Shared CWE-116both on KEV
CVE-2022-24682Shared CWE-116both on KEV
CVE-2024-38475Shared CWE-116both on KEV
CVE-2025-40547Shared CWE-116
CVE-2026-54287Shared CWE-116
CVE-2026-33301Shared CWE-116
CVE-2025-24338Shared CWE-116
CVE-2024-58266Shared CWE-116
CVE-2023-45359Shared CWE-116

Affected Assets

helpsystems
cobalt strike
4.7.1

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V1.1.2
  • V1.2.1
  • V1.2.3

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-116

Validating that output matches expected content directly mitigates failures to properly encode or escape data for its destination context.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly require proper output encoding to prevent injection and message malformation.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

prevents

Secure coding standards explicitly require correct output encoding and escaping to preserve message structure.

finds

Security testing can detect missing or incorrect encoding but does not itself implement the control.

prevents

Secure development life cycle mandates output encoding/escaping practices that directly prevent improper encoding.

prevents

Application security requirements include explicit rules for safe output handling and encoding.

prevents

Secure architecture principles reduce the likelihood of missing encoding but do not prescribe the actual technique.

References