CVE-2022-39197: Fortra Cobalt Strike Teamserver Cross-Site Scripting (XSS) Vulnerability
CVE-2022-39197 is a medium-severity flaw (CVSS 6.1) affecting cobalt strike, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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).
Why this priority
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.1 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 47.9% (top 1%) |
| CISA exploited list | Yes, fix due 2023-04-20 |
| Weakness | CWE-79 |
| Published | 2022-09-22 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: its-arun/CVE-2022-39197 (385 stars)
- GitHub PoC: burpheart/CVE-2022-39197-patch (315 stars)
- GitHub PoC: burpheart/cve-2022-39197 (73 stars)
- Write-up: www.cobaltstrike.com/blog/out-of-band-update-cobalt-strike-4-7-1/
- Write-up: www.cobaltstrike.com/blog/tag/release/
- GitHub PoC: 4nth0ny1130/CVE-2022-39197-fix_patch
- GitHub PoC: PyterSmithDarkGhost/CVE-2022-39197-POC
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-39197?
cobalt strike: upgrade to 4.7.1. Exact commands for each OS are on this page.
Is CVE-2022-39197 being exploited?
Yes. CVE-2022-39197 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2022-39197 affect?
CVE-2022-39197 affects cobalt strike. Severity is medium (CVSS 6.1). 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 Str
How urgent is CVE-2022-39197?
Priority 76/100. EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Public exploit reference
Related CVEs
- CVE-2022-42948 CRITICAL 9.8 EXPLOITED DOWNGRADE Fortra Cobalt Strike User Interface Remote Code Execution Vulnerability