CVE-2022-42948
Helpsystems Cobalt Strike 4.7.1
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. 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, ranked in the top 14% 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
- 🇪🇺 ENISA EUVD: EUVD-2022-46004
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
CVEs Like This One
Affected Assets
Mitigating Controls
Likely Mitigating Controls
Our mappings. 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.
Validating that output matches expected content directly mitigates failures to properly encode or escape data for its destination context.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Security testing can detect missing or incorrect encoding but does not itself implement the control.
Secure coding standards explicitly require correct output encoding and escaping to preserve message structure.
Hardening callouts derived
DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.
- No fine-grained STIG row for CWE-116, a class-level weakness, and none of its children carries one either.