{
  "crds_version": "0.1",
  "kind": "base",
  "id": "crds:cve-2022-39197",
  "revision": 1,
  "title": "Cobalt Strike Teamserver — Cross-Site Scripting",
  "summary": "A cross-site scripting (XSS) flaw in Cobalt Strike through 4.7 lets a remote attacker set a malformed username in a payload's configuration and run markup on the teamserver, which can lead to remote code execution.",
  "source_type": "cve",
  "severity": "high",
  "cvss": {
    "score": 6.1,
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
    "version": "3.1"
  },
  "epss": 0.44145,
  "exploitation": {
    "known_exploited": true,
    "exploit_available": false,
    "attack_complexity": "low",
    "kev_added": "2023-03-30",
    "kev_due": "2023-04-20",
    "prerequisites": "An attacker must first inspect a Cobalt Strike payload, then alter or recreate it with a malformed username."
  },
  "mitre_attack": [
    "T1059.007"
  ],
  "kill_chain": "execution",
  "recommended_action": "Update Cobalt Strike to a release newer than 4.7.1, which also covers CVE-2022-42948.",
  "confidence": "high",
  "provenance": [
    {
      "fields": [
        "cvss",
        "exploitation.attack_complexity",
        "exploitation.exploit_available",
        "published_at",
        "references"
      ],
      "source": "https://nvd.nist.gov/vuln/detail/CVE-2022-39197",
      "retrieved_at": "2026-11-05T08:18:20.755Z",
      "confidence": "high",
      "extractor": "scrty-crds-pipeline/0.1"
    },
    {
      "fields": [
        "exploitation.known_exploited",
        "exploitation.kev_added",
        "exploitation.kev_due"
      ],
      "source": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "retrieved_at": "2026-11-05T08:18:20.755Z",
      "confidence": "high",
      "extractor": "scrty-crds-pipeline/0.1"
    },
    {
      "fields": [
        "epss"
      ],
      "source": "https://api.first.org/data/v1/epss?cve=CVE-2022-39197",
      "retrieved_at": "2026-11-05T08:18:20.755Z",
      "confidence": "high",
      "extractor": "scrty-crds-pipeline/0.1"
    },
    {
      "fields": [
        "title",
        "subtitle",
        "summary",
        "severity",
        "remediation",
        "mitre_attack",
        "kill_chain",
        "recommended_action",
        "confidence",
        "tags",
        "exploitation.prerequisites"
      ],
      "source": "https://nvd.nist.gov/vuln/detail/CVE-2022-39197",
      "retrieved_at": "2026-11-05T08:18:20.755Z",
      "confidence": "high",
      "extractor": "claude-code"
    }
  ],
  "references": [
    {
      "type": "cve",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-39197",
      "label": "NVD record"
    },
    {
      "type": "cisa",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "label": "CISA Known Exploited Vulnerabilities catalog"
    },
    {
      "type": "vendor_advisory",
      "url": "https://www.cobaltstrike.com/blog/out-of-band-update-cobalt-strike-4-7-1/"
    },
    {
      "type": "vendor_advisory",
      "url": "https://www.cobaltstrike.com/blog/tag/release/"
    }
  ],
  "published_at": "2022-09-22T01:15:11.963Z",
  "issued_at": "2026-11-05T08:18:20.755Z",
  "tags": [
    "fortra",
    "cobalt-strike",
    "xss"
  ]
}
