{"id":"CVE-2022-39197","aliases":["EUVD-2022-41742","GHSA-9jq3-pg7g-c4wc"],"status":"published","title":"An XSS (Cross Site Scripting) vulnerability was found in HelpSystems Cobalt Strike through 4.7...","description":"An XSS (Cross Site Scripting) vulnerability was found in HelpSystems Cobalt Strike through 4.7 that allowed a remote attacker to execute HTML on the Cobalt Strike teamserver. To exploit the vulnerability, one must first inspect a Cobalt Strike payload, and then modify the username field in the payload (or create a new payload with the extracted information and then modify that username field to be malformed).","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.44145,"percentile":0.98765,"model":"v2026.06.15"},"facts":{"in_kev":true,"known_exploited":true,"public_exploit":true,"fix_available":false},"cwes":["CWE-20","CWE-79"],"published":"2022-09-22T00:43:41Z","modified":"2026-06-17T04:57:53Z","kev":{"date_added":"2023-03-30","due_date":"2023-04-20","required_action":"Apply updates per vendor instructions.","known_ransomware_use":"Unknown"},"exploitation":[{"source":"euvd","since":"2023-03-30"},{"source":"kev","since":"2023-03-30"}],"exploits":[{"source":"pocgithub","id":"safe3s/CVE-2022-39197","title":"safe3s/CVE-2022-39197","date":"2022-09-21","url":"https://github.com/safe3s/CVE-2022-39197"},{"source":"pocgithub","id":"burpheart/cve-2022-39197","title":"burpheart/cve-2022-39197","date":"2022-09-22","url":"https://github.com/burpheart/cve-2022-39197"},{"source":"pocgithub","id":"zeoday/cobaltstrike4.5_cdf-1","title":"zeoday/cobaltstrike4.5_cdf-1","date":"2022-09-22","url":"https://github.com/zeoday/cobaltstrike4.5_cdf-1"},{"source":"pocgithub","id":"xzajyjs/CVE-2022-39197-POC","title":"xzajyjs/CVE-2022-39197-POC","date":"2022-09-23","url":"https://github.com/xzajyjs/CVE-2022-39197-POC"},{"source":"pocgithub","id":"purple-WL/Cobaltstrike-RCE-CVE-2022-39197","title":"purple-WL/Cobaltstrike-RCE-CVE-2022-39197","date":"2022-09-24","url":"https://github.com/purple-WL/Cobaltstrike-RCE-CVE-2022-39197"},{"source":"pocgithub","id":"yqcs/CSPOC","title":"yqcs/CSPOC","date":"2022-09-24","url":"https://github.com/yqcs/CSPOC"},{"source":"pocgithub","id":"burpheart/CVE-2022-39197-patch","title":"burpheart/CVE-2022-39197-patch","date":"2022-09-26","url":"https://github.com/burpheart/CVE-2022-39197-patch"},{"source":"pocgithub","id":"lovechoudoufu/about_cobaltstrike4.5_cdf","title":"lovechoudoufu/about_cobaltstrike4.5_cdf","date":"2022-09-26","url":"https://github.com/lovechoudoufu/about_cobaltstrike4.5_cdf"},{"source":"pocgithub","id":"hluwa/cobaltstrike_swing_xss2rce","title":"hluwa/cobaltstrike_swing_xss2rce","date":"2022-09-27","url":"https://github.com/hluwa/cobaltstrike_swing_xss2rce"},{"source":"pocgithub","id":"4nth0ny1130/CVE-2022-39197-fix_patch","title":"4nth0ny1130/CVE-2022-39197-fix_patch","date":"2022-10-09","url":"https://github.com/4nth0ny1130/CVE-2022-39197-fix_patch"},{"source":"pocgithub","id":"its-arun/CVE-2022-39197","title":"its-arun/CVE-2022-39197","date":"2022-10-14","url":"https://github.com/its-arun/CVE-2022-39197"},{"source":"pocgithub","id":"TheCryingGame/CVE-2022-39197-RCE","title":"TheCryingGame/CVE-2022-39197-RCE","date":"2022-10-22","url":"https://github.com/TheCryingGame/CVE-2022-39197-RCE"},{"source":"pocgithub","id":"adeljck/CVE-2022-39197","title":"adeljck/CVE-2022-39197","date":"2022-11-24","url":"https://github.com/adeljck/CVE-2022-39197"},{"source":"pocgithub","id":"xiao-zhu-zhu/pig_CS4.4","title":"xiao-zhu-zhu/pig_CS4.4","date":"2023-04-28","url":"https://github.com/xiao-zhu-zhu/pig_CS4.4"},{"source":"pocgithub","id":"Romanc9/Gui-poc-test","title":"Romanc9/Gui-poc-test","date":"2023-12-03","url":"https://github.com/Romanc9/Gui-poc-test"}],"products":[{"vendor":"fortra","product":"cobalt strike"},{"vendor":"helpsystems","product":"cobalt_strike"}],"references":[{"url":"https://www.cobaltstrike.com/blog/tag/release/","tags":["x_refsource_MISC","x_transferred","Release Notes","Vendor Advisory"]},{"url":"https://www.cobaltstrike.com/blog/out-of-band-update-cobalt-strike-4-7-1/","tags":["x_refsource_MISC","x_transferred","Mitigation","Vendor Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-39197","tags":["government-resource","US Government Resource"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39197"},{"url":"https://www.cobaltstrike.com/blog/out-of-band-update-cobalt-strike-4-7-1"},{"url":"https://www.cobaltstrike.com/blog/tag/release"},{"url":"https://github.com/advisories/GHSA-9jq3-pg7g-c4wc"}],"sources":{"cve":[{"id":"CVE-2022-39197","description":"An XSS (Cross Site Scripting) vulnerability was found in HelpSystems Cobalt Strike through 4.7 that allowed a remote attacker to execute HTML on the Cobalt Strike teamserver. To exploit the vulnerability, one must first inspect a Cobalt Strike payload, and then modify the username field in the payload (or create a new payload with the extracted information and then modify that username field to be malformed).","status":"published","published":"2022-09-22T00:43:41Z","modified":"2025-10-21T23:15:34.953Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"adp"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:34:39.559326Z"}],"euvd":[{"id":"EUVD-2022-41742","description":"An XSS (Cross Site Scripting) vulnerability was found in HelpSystems Cobalt Strike through 4.7 that allowed a remote attacker to execute HTML on the Cobalt Strike teamserver. To exploit the vulnerability, one must first inspect a Cobalt Strike payload, and then modify the username field in the payload (or create a new payload with the extracted information and then modify that username field to be malformed).","status":"published","published":"2022-09-22T00:43:41Z","modified":"2025-10-21T23:15:34Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"exploited_since":"2023-03-30","updated_at":"2026-11-02T20:31:26.48918Z"}],"ghsa":[{"id":"GHSA-9jq3-pg7g-c4wc","title":"An XSS (Cross Site Scripting) vulnerability was found in HelpSystems Cobalt Strike through 4.7...","description":"An XSS (Cross Site Scripting) vulnerability was found in HelpSystems Cobalt Strike through 4.7 that allowed a remote attacker to execute HTML on the Cobalt Strike teamserver. To exploit the vulnerability, one must first inspect a Cobalt Strike payload, and then modify the username field in the payload (or create a new payload with the extracted information and then modify that username field to be malformed).","status":"published","published":"2022-09-23T00:00:30Z","modified":"2025-10-22T00:32:37Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:04:05.954742Z"}],"kev":[{"id":"CVE-2022-39197","title":"Fortra Cobalt Strike Teamserver Cross-Site Scripting (XSS) Vulnerability","description":"Fortra Cobalt Strike contains a cross-site scripting (XSS) vulnerability in Teamserver that would allow an attacker to set a malformed username in the Beacon configuration, allowing them to execute code remotely.","cwes":["CWE-20","CWE-79"],"kev":{"date_added":"2023-03-30","due_date":"2023-04-20","required_action":"Apply updates per vendor instructions.","known_ransomware_use":"Unknown"},"updated_at":"2026-11-02T17:00:16.234141Z"}],"nvd":[{"id":"CVE-2022-39197","description":"An XSS (Cross Site Scripting) vulnerability was found in HelpSystems Cobalt Strike through 4.7 that allowed a remote attacker to execute HTML on the Cobalt Strike teamserver. To exploit the vulnerability, one must first inspect a Cobalt Strike payload, and then modify the username field in the payload (or create a new payload with the extracted information and then modify that username field to be malformed).","status":"published","published":"2022-09-22T01:15:11.963Z","modified":"2026-06-17T04:57:53.71Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:28.501364Z"}]}}
