{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-42948","id":"CVE-2022-42948","title":"Cobalt Strike 4.7.1 fails to properly escape HTML tags when they are displayed on Swing components","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.","descriptionLong":"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.","published":"2023-03-24T00:00:00.000Z","updated":"2026-06-17T05:05:39.117Z","reserved":"2022-10-14T00:00:00.000Z","status":"Analyzed","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"CISA-ADP"}],"rating":"critical","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-116"],"aliases":[],"references":[{"url":"https://www.cobaltstrike.com/blog/","tags":["x_transferred","Vendor Advisory"]},{"url":"https://www.redpacketsecurity.com/helpsystems-cobalt-strike-code-execution-cve-2022-42948/","tags":["x_transferred","Third Party Advisory"]},{"url":"https://thesecmaster.com/how-to-fix-cve-2022-42948-a-critical-rce-vulnerability-in-cobalt-strike/","tags":["x_transferred","Technical Description","Third Party Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-42948","tags":["government-resource","US Government Resource"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":true,"kevAdded":"2023-03-30","kevDue":"2023-04-20","kevEntry":{"cveID":"CVE-2022-42948","vendorProject":"Fortra","product":"Cobalt Strike","vulnerabilityName":"Fortra Cobalt Strike User Interface Remote Code Execution Vulnerability","dateAdded":"2023-03-30","shortDescription":"Fortra Cobalt Strike User Interface contains an unspecified vulnerability rooted in Java Swing that may allow remote code execution.","requiredAction":"Apply updates per vendor instructions.","dueDate":"2023-04-20","knownRansomwareCampaignUse":"Unknown","notes":"https://www.cobaltstrike.com/blog/out-of-band-update-cobalt-strike-4-7-2/;  https://nvd.nist.gov/vuln/detail/CVE-2022-42948","cwes":["CWE-79","CWE-116"]},"ssvc":{"exploitation":"active","automatable":"yes","technicalImpact":"total"},"epss":0.02706,"epssPercentile":0.86251,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-42948","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-42948","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-42948","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"added 2023-03-30"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-42948","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":["Exploited in the wild (CISA KEV)"],"attention":null}