{"id":"CVE-2022-42948","state":"PUBLISHED","title":"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 C","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.","publishedAt":"2023-03-24T00:00:00.000Z","updatedAt":"2025-10-21T23:15:21.818Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["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.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-42948"],"weaknesses":["CWE-116"],"ingestedAt":"2026-10-29T19:50:40.706Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/42xxx/CVE-2022-42948.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-42948","state":"PUBLISHED","datePublished":"2023-03-24T00:00:00.000Z","dateUpdated":"2025-10-21T23:15:21.818Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2022-10-14T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://www.cobaltstrike.com/blog/"},{"url":"https://www.redpacketsecurity.com/helpsystems-cobalt-strike-code-execution-cve-2022-42948/"},{"url":"https://thesecmaster.com/how-to-fix-cve-2022-42948-a-critical-rce-vulnerability-in-cobalt-strike/"}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"n/a"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2023-03-24T00:00:00.000Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://www.cobaltstrike.com/blog/","tags":["x_transferred"]},{"url":"https://www.redpacketsecurity.com/helpsystems-cobalt-strike-code-execution-cve-2022-42948/","tags":["x_transferred"]},{"url":"https://thesecmaster.com/how-to-fix-cve-2022-42948-a-critical-rce-vulnerability-in-cobalt-strike/","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T13:19:05.527Z"}},{"title":"CISA ADP Vulnrichment","references":[{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-42948","tags":["government-resource"]}],"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":9.8,"attackVector":"NETWORK","baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"id":"CVE-2022-42948","role":"CISA Coordinator","options":[{"Exploitation":"active"},{"Automatable":"yes"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2025-01-28T21:13:12.898964Z"}}},{"other":{"type":"kev","content":{"dateAdded":"2023-03-30","reference":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-42948"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-116","lang":"en","type":"CWE","description":"CWE-116 Improper Encoding or Escaping of Output"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-10-21T23:15:21.818Z"},"timeline":[{"time":"2023-03-30T00:00:00.000Z","lang":"en","value":"CVE-2022-42948 added to CISA KEV"}]}]}}}