# CVE-2022-42948

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.

- Page: https://www.vulneraibility.com/cve/CVE-2022-42948
- CVSS: 9.8
- Known exploited: yes, in CISA KEV since 2023-03-30; CISA due date 2023-04-20
- EPSS: 2.71% (percentile 86.2)
- CISA SSVC: exploitation active, automatable yes, technical impact total (assessed 2025-01-28)
- Weakness: CWE-116
- Published: 2023-03-24

## Affected

- helpsystems:cobalt_strike

## References

- [other] https://www.cobaltstrike.com/blog/
- [other] https://www.redpacketsecurity.com/helpsystems-cobalt-strike-code-execution-cve-2022-42948/
- [other] https://thesecmaster.com/how-to-fix-cve-2022-42948-a-critical-rce-vulnerability-in-cobalt-strike/
- [other] https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-42948

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
