{"cve":"CVE-2022-42948","nvd":{"published":"2023-03-24T14:15:09.927","modified":"2026-06-17T05:05:39.117","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-116"],"references":["https://thesecmaster.com/how-to-fix-cve-2022-42948-a-critical-rce-vulnerability-in-cobalt-strike/","https://www.cobaltstrike.com/blog/","https://www.redpacketsecurity.com/helpsystems-cobalt-strike-code-execution-cve-2022-42948/","https://thesecmaster.com/how-to-fix-cve-2022-42948-a-critical-rce-vulnerability-in-cobalt-strike/","https://www.cobaltstrike.com/blog/"],"products":["helpsystems:cobalt_strike"],"source":"nvd","synced_at":"2026-10-19T21:37:48.383111019+00:00"},"epss":{"cve":"CVE-2022-42948","score":0.02706,"percentile":0.85964,"date":"2026-10-31"},"kev":{"cve":"CVE-2022-42948","date_added":"2023-03-30","due_date":"2023-04-20","vendor":"Fortra","product":"Cobalt Strike","known_ransomware":false},"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}