{
  "id": "CVE-2026-78159",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-78159",
  "published_at": "2026-09-12T07:39:15.542Z",
  "title": "The Events Calendar \u003c= 6.17.3 - Unauthenticated Code Injection to Remote Code Execution via Widget 'classes' Map Callable Invocation",
  "vendor": "stellarwp",
  "product": "The Events Calendar",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-09-19T16:52:24Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 7.4,
    "repo": "abraxas/CVE-2026-78159",
    "source": "github"
  },
  "poc_repo_count": 2,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "The The Events Calendar plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 6.17.3 via the parse_array function. This is due to insufficient validation of the widget 'classes' map, allowing a plain-array payload to bypass the is_safe_widget_instance() object check and reach the callable-invocation sink in Element_Classes::parse_array(). This makes it possible for unauthenticated attackers to execute code on the server. Exploitation requires that the targeted site has comments enabled on tribe_events posts and that at least one comment containing a crafted wp:legacy-widget block has been submitted, as the attack chain is triggered when do_blocks() processes the single-event HTML including the comment area.",
  "cwe": "CWE-94",
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [
    {
      "repo": "abraxas/CVE-2026-78159",
      "url": "https://github.com/abraxas/CVE-2026-78159",
      "created_at": "2026-09-19T16:52:24Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2026-07-04T21:33:07Z"
    },
    {
      "repo": "antid00t/CVE-2026-78006-CVE-2026-78159",
      "url": "https://github.com/antid00t/CVE-2026-78006-CVE-2026-78159",
      "created_at": "2026-09-28T00:45:37Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 3,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 30 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2026-09-05T09:43:32Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "stellarwp",
        "product": "The Events Calendar",
        "ranges": [
          "\u003c= 6.17.3"
        ],
        "fixed_in": null
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/wp-json/tribe/events/v1/events",
      "query_markers": [
        "per_page=5"
      ],
      "user_agents": [
        "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0 Safari/537.36"
      ],
      "protocol": "http",
      "repos": [
        "antid00t/CVE-2026-78006-CVE-2026-78159"
      ],
      "repo_count": 1,
      "confidence": 0.6,
      "evidence": [
        "antid00t/CVE-2026-78006-CVE-2026-78159/tec.py:309",
        "antid00t/CVE-2026-78006-CVE-2026-78159/tec.py:315"
      ]
    },
    {
      "method": "POST",
      "path_template": "/wp-comments-post.php",
      "headers": [
        {
          "name": "Origin",
          "value": "{var}"
        },
        {
          "name": "Referer",
          "value": "{var}"
        }
      ],
      "body_markers": [
        "comment_post_ID=",
        "comment=",
        "wp:legacy-widget",
        "tribe-widget-events-list",
        "\"encoded\":",
        "submit=Post Comment"
      ],
      "content_type": "application/x-www-form-urlencoded",
      "user_agents": [
        "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0 Safari/537.36"
      ],
      "protocol": "http",
      "repos": [
        "antid00t/CVE-2026-78006-CVE-2026-78159"
      ],
      "repo_count": 1,
      "confidence": 0.6,
      "evidence": [
        "antid00t/CVE-2026-78006-CVE-2026-78159/tec.py:403",
        "antid00t/CVE-2026-78006-CVE-2026-78159/tec.py:406",
        "antid00t/CVE-2026-78006-CVE-2026-78159/tec.py:388-396",
        "antid00t/CVE-2026-78006-CVE-2026-78159/tec.py:160-171"
      ]
    },
    {
      "method": "GET",
      "path_template": "/",
      "query_markers": [
        "rest_route=/tribe/events/v1/events",
        "per_page=5",
        "post_type=tribe_events",
        "p=",
        "tribe_events=",
        "author=1"
      ],
      "protocol": "http",
      "repos": [
        "antid00t/CVE-2026-78006-CVE-2026-78159"
      ],
      "repo_count": 1,
      "confidence": 0.5,
      "evidence": [
        "antid00t/CVE-2026-78006-CVE-2026-78159/tec.py:310",
        "antid00t/CVE-2026-78006-CVE-2026-78159/tec.py:311",
        "antid00t/CVE-2026-78006-CVE-2026-78159/tec.py:271",
        "antid00t/CVE-2026-78006-CVE-2026-78159/tec.py:299",
        "antid00t/CVE-2026-78006-CVE-2026-78159/tec.py:301",
        "antid00t/CVE-2026-78006-CVE-2026-78159/tec.py:333",
        "antid00t/CVE-2026-78006-CVE-2026-78159/tec.py:357"
      ]
    },
    {
      "method": "GET",
      "path_template": "/wp-json/wp/v2/users/1",
      "protocol": "http",
      "repos": [
        "antid00t/CVE-2026-78006-CVE-2026-78159"
      ],
      "repo_count": 1,
      "confidence": 0.5,
      "evidence": [
        "antid00t/CVE-2026-78006-CVE-2026-78159/tec.py:348"
      ]
    }
  ],
  "rules": []
}
