← Vulnerability feed

Vulnerability record · CVE-2022-39197 · published 22 September 2022

CVE-2022-39197: Cobalt Strike Teamserver XSS via Malformed Payload Username Field

Helpsystems · Cobalt Strike

Cobalt Strike through 4.7 contains a cross-site scripting flaw in the teamserver that lets a remote attacker inject HTML by modifying the username field of a Cobalt Strike payload. Because the teamserver is the operator console for red-team and, in abuse cases, intrusion activity, a successful injection can compromise the operator's browser session and the server's integrity.

6.1 CVSS 3.1 Medium CISA KEV since 30 Mar 2023 EPSS 46% · top 1.2% CWE-79 · Cross-site scripting
6.1CVSS 3.1 base score
46%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
1Affected product versions listed by NVD
5References
17 Jun 2026Last modified by NVD

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).

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: high.

high priorityIt is in CISA KEV with confirmed exploitation and a very high EPSS percentile, though the CVSS base score is medium and exploitation requires user interaction.

What it is

Cobalt Strike through 4.7 contains a cross-site scripting flaw in the teamserver that lets a remote attacker inject HTML by modifying the username field of a Cobalt Strike payload. Because the teamserver is the operator console for red-team and, in abuse cases, intrusion activity, a successful injection can compromise the operator's browser session and the server's integrity.

Impact

An attacker can execute HTML/script in the context of the Cobalt Strike teamserver, potentially stealing operator session data or performing actions as the operator. The CVSS scope change (S:C) indicates impact can extend beyond the vulnerable component.

Attack surface

Reached over the network (AV:N) with no privileges required (PR:N), but exploitation requires user interaction (UI:R) because the operator must inspect or handle a crafted payload. The description states the attacker must first inspect a payload and then modify the username field, so the attack depends on the operator processing attacker-influenced payload data.

Exploitation

CISA added this to the Known Exploited Vulnerabilities catalog on 2023-03-30, confirming real-world exploitation, and EPSS shows a 30-day probability of 0.46446 (98.755th percentile). No ransomware campaign use is documented.

What to do

  • Apply the vendor out-of-band update to Cobalt Strike 4.7.1 or later per the vendor advisory.
  • If immediate patching is not possible, restrict network access to the teamserver to trusted management networks only.
  • Treat payloads from untrusted or unknown sources as hostile; do not inspect or import them into the teamserver.
  • Monitor and validate the username field in payloads before use, and avoid importing payloads with malformed or unexpected username values.
  • Follow CISA KEV required action: apply updates per vendor instructions by the due date.

Detection

  • Monitor teamserver logs and HTTP traffic for payloads containing script tags or HTML in the username field.
  • Alert on unexpected outbound connections or script execution originating from the teamserver host.
  • Review Cobalt Strike teamserver access logs for anomalous operator sessions or payload imports.
  • Hunt for known CVE-2022-39197 indicators in network traffic and endpoint telemetry around teamserver hosts.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2022-39197 to the Known Exploited Vulnerabilities catalog on 30 March 2023 as "Fortra Cobalt Strike Teamserver Cross-Site Scripting (XSS) Vulnerability". Required action: Apply updates per vendor instructions. Federal deadline 20 April 2023.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2022-39197 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2022-42948Cobalt Strike UI HTML injection leads to remote code executionCobalt Strike 4.7.1 fails to escape HTML tags rendered in its Swing UI components. Crafted HTML injected into that UI can execute code in the Cobalt …KEVEPSS 2.7%analysed7.5CVE-2022-23317Helpsystems cobalt strike improper authentication vulnerabilityCobaltStrike <=4.5 HTTP(S) listener does not determine whether the request URL begins with "/", and attackers can obtain relevant information by spec…EPSS 1.1%7.5CVE-2021-36798Helpsystems cobalt strike allocation without limits vulnerabilityA Denial-of-Service (DoS) vulnerability was discovered in Team Server in HelpSystems Cobalt Strike 4.2 and 4.3. It allows remote attackers to crash t…EPSS 4.3%6.1CVE-2026-42897Microsoft Exchange Server XSS enables spoofingMicrosoft Exchange Server and Exchange Server Subscription Edition fail to neutralize input during web page generation, a cross-site scripting flaw (…KEVEPSS 0.52%analysed6.1CVE-2025-48700Zimbra Classic UI stored XSS via crafted email HTMLZimbra Collaboration Suite Classic UI fails to properly sanitize HTML content in email messages, allowing crafted tag structures and attribute values…KEVEPSS 1.7%analysed6.1CVE-2025-66376Zimbra Collaboration Classic UI stored XSS via CSS @import in emailZimbra Collaboration Suite 10 before 10.0.18 and 10.1 before 10.1.13 allows stored cross-site scripting in the Classic UI through CSS @import directi…KEVEPSS 20%analysed6.1CVE-2025-68461Roundcube Webmail XSS via SVG animate tagRoundcube Webmail before 1.5.12 and 1.6 before 1.6.12 is vulnerable to cross-site scripting through the animate tag in an SVG document. Because the f…KEVEPSS 27%analysed10.0CVE-2026-22769Dell RecoverPoint for Virtual Machines hardcoded credential flawDell RecoverPoint for Virtual Machines versions prior to 6.0.3.1 HF1 contain a hardcoded credential vulnerability (CWE-798). An unauthenticated remot…KEVEPSS 13%analysed

Source: NIST National Vulnerability Database (record CVE-2022-39197), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.