CVE-2022-39197: Fortra Cobalt Strike Teamserver Cross-Site Scripting (XSS)
Fortra Cobalt Strike · listed in the CISA catalog of actively exploited vulnerabilities since 2023-03-30.
- CVSS v3.1 (CISA ADP)
- 6.1
- medium
- EPSS (exploit probability, 30 days)
- 37%
- higher than 98.5% of all CVEs
- Added to CISA KEV
- 2023-03-30
- US federal due date 2023-04-20
- Automatable (CISA SSVC)
- no
- technical impact: partial
CVE-2022-39197 explained
CVE-2022-39197 is a cross-site scripting (XSS) vulnerability in the Cobalt Strike teamserver from Fortra (described as HelpSystems Cobalt Strike through 4.7). A remote attacker can cause HTML to be executed on the teamserver by supplying a malformed username field in a payload. CISA lists it as known to be exploited.
Impact
A remote attacker needs no privileges, but a user must interact. The attacker can execute HTML on the Cobalt Strike teamserver, with a scope change and limited impact on confidentiality and integrity. Availability is not affected. CISA rates the technical impact as partial and the exploitation as not automatable. Attackers are known to use this vulnerability; ransomware use is unknown.
Who is affected
The description names HelpSystems Cobalt Strike through 4.7 as affected. The structured CVE record for Fortra Cobalt Strike lists no affected versions and names no fixed version. Check the vendor advisory for the versions that contain the fix.
Written with AI from the data on this page and checked against it automatically.
Official 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).
CISA required action: Apply updates per vendor instructions.
CISA notes
How to fix it
- The CVE record names no fixed version – check the vendor advisory and CISA's required action for updates and mitigations.
- Vendor advisory: cobaltstrike.com/blog/out-of-band-update-cobalt-strike-4-7-1
- CISA's deadline for US federal agencies: 2023-04-20 (passed) – a useful benchmark for everyone else, too.
What to do
- Apply updates per vendor instructions, as CISA requires.
- Upgrade Cobalt Strike installations beyond
4.7to the version the vendor advisory identifies as fixed. - Restrict network access to the teamserver to trusted operators and systems.
- Review teamserver data and logs for malformed username fields or unexpected HTML content.
The CVE record names no fixed version. Follow the Fortra vendor advisory to identify and install the fixed release, as CISA's required action states: apply updates per vendor instructions. Until updated, limit who can reach the teamserver and treat incoming payload data with caution.
Written with AI from the data on this page and checked against it automatically.
CISA's assessment (SSVC)
- Exploitation
- Exploited in the wild
- Automatable
- No – each attack needs manual steps
- Technical impact
- Partial – limited control or information
Weakness: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Questions about CVE-2022-39197
- Is CVE-2022-39197 being exploited?
- Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 2023-03-30, with a US federal due date of 2023-04-20. Whether it is used in ransomware campaigns is unknown.
- Which versions are affected?
- The description states Cobalt Strike through
4.7is affected. The CVE record itself lists no affected or fixed versions, so use the vendor advisory to confirm the fixed release. - Does exploitation require authentication?
- No privileges are required, but user interaction is needed. The attacker supplies a payload with a malformed username field, which leads to HTML execution on the teamserver.
Written with AI from the data on this page and checked against it automatically.
References
Vendor
Trackers and catalogs
Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-22. Always confirm with the vendor's or distribution's advisory before patching.