CVE-2022-42948
9.8CRITICALCobalt 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.
Published: 3/24/2023Updated: 11/3/2025
CISA Known Exploited Vulnerability
Fortra Cobalt Strike User Interface contains an unspecified vulnerability rooted in Java Swing that may allow remote code execution.
Required Action:
Apply updates per vendor instructions.
Due Date:
2023-04-20
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.
AI AnalysisPowered by AI
Affected Products
helpsystemscobalt_strike
4.7.1
References
- https://thesecmaster.com/how-to-fix-cve-2022-42948-a-critical-rce-vulnerability-in-cobalt-strike/Technical DescriptionThird Party Advisory
- https://www.cobaltstrike.com/blog/Vendor Advisory
- https://www.redpacketsecurity.com/helpsystems-cobalt-strike-code-execution-cve-2022-42948/Third Party Advisory
- https://thesecmaster.com/how-to-fix-cve-2022-42948-a-critical-rce-vulnerability-in-cobalt-strike/Technical DescriptionThird Party Advisory
- https://www.cobaltstrike.com/blog/Vendor Advisory
- https://www.redpacketsecurity.com/helpsystems-cobalt-strike-code-execution-cve-2022-42948/Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-42948US Government Resource