{
  "id": "CVE-2022-39197",
  "url": "https://poc.griffinguard.io/cve/CVE-2022-39197",
  "published_at": "2022-09-22T00:43:41Z",
  "title": "Fortra Cobalt Strike Teamserver Cross-Site Scripting (XSS) Vulnerability",
  "vendor": "Fortra",
  "product": "Cobalt Strike",
  "cvss": {
    "score": 6.1,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2023-03-30",
    "known_ransomware_campaign_use": "Unknown",
    "days_after_publication": 189
  },
  "first_poc": {
    "created_at": "2022-09-21T06:22:10Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": -0.8,
    "repo": "safe3s/CVE-2022-39197",
    "source": "github"
  },
  "poc_repo_count": 7,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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).",
  "cwe": "CWE-79",
  "cvss_by_source": {
    "cisa-adp": 6.1
  },
  "repos": [
    {
      "repo": "PyterSmithDarkGhost/CVE-2022-39197-POC",
      "url": "https://github.com/PyterSmithDarkGhost/CVE-2022-39197-POC",
      "created_at": null,
      "first_seen_at": "2026-11-14T22:15:13.872Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "safe3s/CVE-2022-39197",
      "url": "https://github.com/safe3s/CVE-2022-39197",
      "created_at": "2022-09-21T06:22:10Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 3,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-06-28T07:48:34Z"
    },
    {
      "repo": "zeoday/cobaltstrike4.5_cdf-1",
      "url": "https://github.com/zeoday/cobaltstrike4.5_cdf-1",
      "created_at": "2022-09-22T02:50:45Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 30 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2022-08-28T04:30:46Z"
    },
    {
      "repo": "burpheart/cve-2022-39197",
      "url": "https://github.com/burpheart/cve-2022-39197",
      "created_at": "2022-09-22T14:39:02Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 73,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-01-23T07:15:47Z"
    },
    {
      "repo": "xzajyjs/CVE-2022-39197-POC",
      "url": "https://github.com/xzajyjs/CVE-2022-39197-POC",
      "created_at": "2022-09-23T08:20:07Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 46,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-02-06T08:35:33Z"
    },
    {
      "repo": "yqcs/CSPOC",
      "url": "https://github.com/yqcs/CSPOC",
      "created_at": "2022-09-24T08:14:36Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 17,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-10-22T04:41:32Z"
    },
    {
      "repo": "purple-WL/Cobaltstrike-RCE-CVE-2022-39197",
      "url": "https://github.com/purple-WL/Cobaltstrike-RCE-CVE-2022-39197",
      "created_at": "2022-09-24T14:36:47Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-04-18T04:49:29Z"
    },
    {
      "repo": "lovechoudoufu/about_cobaltstrike4.5_cdf",
      "url": "https://github.com/lovechoudoufu/about_cobaltstrike4.5_cdf",
      "created_at": "2022-09-26T05:49:58Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 18,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 35,
      "suspicious": false,
      "suspicion_reasons": [
        "README asks to download a release/binary/archive"
      ],
      "status": "analyzed",
      "owner_created_at": "2021-12-07T08:54:18Z"
    },
    {
      "repo": "burpheart/CVE-2022-39197-patch",
      "url": "https://github.com/burpheart/CVE-2022-39197-patch",
      "created_at": "2022-09-26T08:58:21Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 315,
      "is_poc": "no",
      "kind": "detection",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "code never talks to a target"
      ],
      "status": "analyzed",
      "owner_created_at": "2018-01-23T07:15:47Z"
    },
    {
      "repo": "hluwa/cobaltstrike_swing_xss2rce",
      "url": "https://github.com/hluwa/cobaltstrike_swing_xss2rce",
      "created_at": "2022-09-27T10:21:54Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 7,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 40,
      "suspicious": false,
      "suspicion_reasons": [
        "contains archives (libs/batik-all-1.15.jar, libs/org.w3c.dom.smil-1.0.1.v200903091627.jar, libs/sac-1.3.jar)",
        "no network code found (normal for a local exploit)"
      ],
      "status": "analyzed",
      "owner_created_at": "2016-05-01T12:46:46Z"
    },
    {
      "repo": "4nth0ny1130/CVE-2022-39197-fix_patch",
      "url": "https://github.com/4nth0ny1130/CVE-2022-39197-fix_patch",
      "created_at": "2022-10-09T04:06:23Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 7,
      "is_poc": "no",
      "kind": "detection",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "code never talks to a target"
      ],
      "status": "analyzed",
      "owner_created_at": "2020-10-29T17:02:00Z"
    },
    {
      "repo": "its-arun/CVE-2022-39197",
      "url": "https://github.com/its-arun/CVE-2022-39197",
      "created_at": "2022-10-14T11:46:01Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 386,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-08-04T14:32:41Z"
    },
    {
      "repo": "TheCryingGame/CVE-2022-39197-RCE",
      "url": "https://github.com/TheCryingGame/CVE-2022-39197-RCE",
      "created_at": "2022-10-22T10:11:37Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 13,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-03-04T23:16:32Z"
    },
    {
      "repo": "adeljck/CVE-2022-39197",
      "url": "https://github.com/adeljck/CVE-2022-39197",
      "created_at": "2022-11-24T17:22:10Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-12-13T09:44:52Z"
    },
    {
      "repo": "luelueking/Java-CVE-Lists",
      "url": "https://github.com/luelueking/Java-CVE-Lists",
      "created_at": "2023-01-15T14:23:13Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 18,
      "is_poc": "no",
      "kind": "list",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-10-26T13:41:43Z"
    },
    {
      "repo": "xiao-zhu-zhu/pig_CS4.4",
      "url": "https://github.com/xiao-zhu-zhu/pig_CS4.4",
      "created_at": "2023-04-28T06:31:38Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 37,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 20,
      "suspicious": false,
      "suspicion_reasons": [
        "stars without code"
      ],
      "status": "analyzed",
      "owner_created_at": "2021-06-07T02:22:02Z"
    },
    {
      "repo": "Romanc9/Gui-poc-test",
      "url": "https://github.com/Romanc9/Gui-poc-test",
      "created_at": "2023-12-03T13:45:34Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-09-11T13:52:01Z"
    }
  ],
  "remediation": null,
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/{var}{var}",
      "headers": [
        {
          "name": "Cookie",
          "value": "{var}"
        }
      ],
      "ports": [
        3000
      ],
      "protocol": "http",
      "repos": [
        "xzajyjs/CVE-2022-39197-POC"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "xzajyjs/CVE-2022-39197-POC/cve-2022-39197-poc.py:71"
      ]
    }
  ],
  "rules": []
}
