CVE-2022-39197: Cross-site scripting in Cobalt Strike through 4.7
- Vendor
- Helpsystems
CVE-2022-39197 is a cross-site scripting vulnerability affecting HelpSystems Cobalt Strike through version 4.7. A remote attacker can supply a malformed username field in a Cobalt Strike payload to cause attacker-controlled HTML to execute on the Cobalt Strike teamserver. Exploitation requires inspecting an existing payload and modifying its username field, or constructing a new payload using extracted information and then modifying that field.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows a remote attacker to execute attacker-controlled HTML on the Cobalt Strike teamserver. Specific consequences involving sensitive-data disclosure, operating-system command execution, privilege escalation, or service disruption are not established.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to the Cobalt Strike teamserver interface to trusted users and networks. Monitor for suspicious payload modifications and review logs for anomalous activity. Employ web application firewalls or other filtering mechanisms to block malicious input where possible.
Remediation
Patch, then assume compromise.
Apply a vendor-supported fix for CVE-2022-39197 or upgrade to a release confirmed by the vendor to include the fix. A vendor-verified minimum fixed version is not established by the available information.
Exploits
3 exploits validated by Mallory's analysis. Hidden: 3 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2022-39197 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Mar 30, 2023.
- Is there a public exploit for CVE-2022-39197?
- Yes. Mallory tracks 3 public exploits or proofs of concept for CVE-2022-39197, the earliest disclosed Sep 22, 2022.
- Is there a patch for CVE-2022-39197?
- Apply a vendor-supported fix for CVE-2022-39197 or upgrade to a release confirmed by the vendor to include the fix. A vendor-verified minimum fixed version is not established by the available information.
- What products are affected by CVE-2022-39197?
- Helpsystems Cobalt Strike.
- How severe is CVE-2022-39197?
- CVE-2022-39197 has a CVSS v3.1 score of 6.1 (Medium) and an EPSS score of 37.2% (99th percentile) as of Oct 16, 2026.
Recent activity
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.