CVE Tools

CVE-2026-78159

The Events Calendar <= 6.17.3 - Unauthenticated Code Injection to Remote Code Execution via Widget 'classes' Map Callable Invocation

Published: Sep 12, 2026Updated: Sep 14, 2026 Sources: CVE List NVDCWE-94

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.

In plain language

AI Act now

CVE-2026-78159 is a critical WordPress plugin flaw that can let an unauthenticated attacker run code on your server through event comments, but only if your site has comments enabled on event pages and a crafted widget-style comment is present—this is worth acting on if you run The Events Calendar.

Executive summary

Unauthenticated Remote Code Execution is possible in The Events Calendar (all versions up to and including 6.17.3) via a crafted `wp:legacy-widget` comment payload that reaches Element_Classes::parse_array(), bypassing safety checks for the widget `classes` map and invoking callable code.

If affected, business impact
Full server takeoverCustomer data exposureWebsite defacementService disruptionMalware/ransomware pivot

What to do now

  1. Check whether your WordPress site uses “The Events Calendar” and note its exact plugin version.
  2. Verify comments are enabled for tribe_events posts, and whether visitors can submit comments (including on single-event pages).
  3. Search your database or WordPress comment storage for suspicious wp:legacy-widget blocks inside comments on tribe_events posts.
  4. If you are on version 6.17.3 or earlier, update The Events Calendar to the fixed release your vendor provides (no fixed version was identified in the available patch findings).
  5. If you cannot patch immediately, restrict who can post comments on tribe_events pages (disable comments or require moderation) and remove any suspicious comments containing wp:legacy-widget blocks.
May need vendor / contractor work

CVSS Vector Breakdown

AV:NAC:LPR:NUI:NS:UC:HI:HA:H
Exploitability
AV:NAttack Vector
Network
AC:LAttack Complexity
Low
PR:NPrivileges Required
None
UI:NUser Interaction
None
Scope
S:UScope
Unchanged
Impact
C:HConfidentiality
High
I:HIntegrity
High
A:HAvailability
High

Weaknesses

Affected Products

Exploitability

No known exploits, KEV entries, or remediation guidance available for this vulnerability yet.

Attack Graph

Products CVE Techniques Tactics

Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/ + scroll to zoom, or go fullscreen.

MITRE ATT&CK

2 techniques
Execution
Initial Access
View detailed technique mapping

References

and 4 more references View all →
2

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2026-78159 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows