CVE Catalog

CVE-2026-78159

CriticalCVSS 9.8
Published: Translated: NVD NIST

Summary

The Events Calendar plugin for WordPress in all versions up to and including 6.17.3 is vulnerable to Remote Code Execution via the parse_array function. Insufficient validation of the widget 'classes' map allows 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 enables unauthenticated attackers to execute code on the server, provided comments are enabled on tribe_events posts and at least one comment containing a crafted wp:legacy-widget block has been submitted.

Risk Assessment

The vulnerability allows an unauthenticated attacker to execute arbitrary code on the server, potentially leading to full compromise of the WordPress site. It only requires comments to be enabled on events and one submitted comment.

Recommendation

Update The Events Calendar plugin to a version later than 6.17.3. Until then, consider disabling comments on tribe_events posts and audit existing comments for wp:legacy-widget blocks.

Other vulnerabilities in The Events Calendar

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS