Description
The The Events Calendar plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 6.17.4 via the is_safe_widget_instance function. This is due to insufficient protection in is_safe_widget_instance, which can be bypassed because PHP fires magic methods during its pre-parse, combined with enable_rendering_widget_copied() forging a valid wp_hash integrity attribute before unserialize() is reached. This makes it possible for unauthenticated attackers to execute code on the server. This is exploitable without authentication or approval because the plugin's V2 single-event template runs do_blocks() over buffered comment HTML, and WordPress returns a moderation-hash URL that allows an unauthenticated commenter to immediately view their own pending comment, delivering the injected block markup to the vulnerable code path before any moderation occurs. This does require comments to be enabled and visible on events.
Published: 2026-09-12
Score: 9.8 Critical
EPSS: 1.5% Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

The Event Calendar plugin for WordPress contains a PHP object injection flaw that leads to remote code execution, consistent with CWE‑502. The weakness lies in the is_safe_widget_instance function, which fails to prevent PHP magic methods from being invoked during pre‑parse. By forging a valid wp_hash integrity attribute, an attacker can supply a serialized payload that bypasses normal checks and is executed during event rendering. The unserialized object is processed with the privileges of the web server, allowing arbitrary code execution by an unauthenticated user.

Affected Systems

WordPress sites running the StellarWP Event Calendar plugin up to and including version 6.17.4 are affected. The vulnerability is triggered when the plugin’s V2 single‑event template executes do_blocks() on buffered comment HTML. It requires that comments be enabled and visible for the event post type; no authenticated access is necessary.

Risk and Exploitability

The CVSS score of 9.8 marks the flaw as critical, while the EPSS score of less than 1% indicates that exploitation has not yet been widely observed. The flaw is not listed in the CISA KEV catalog, so no widespread exploit code is known. An attacker can craft a malicious comment or request that includes the forged payload, and because the plugin renders the comment markup. The exploit requires only the ability to post a comment on an event page or to send a request to the event rendering endpoint.

Generated by OpenCVE AI on September 15, 2026 at 18:33 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Event Calendar plugin to version 6.18 or newer, where deserialization logic has been hardened.
  • Disable comment posting on event pages (the 'tribe_events' post type) to eliminate the vulnerable rendering path for unauthenticated users.
  • If an immediate upgrade is not possible, remove the Event Calendar plugin from the site or replace it with a vetted alternative until a patch is applied.

Generated by OpenCVE AI on September 15, 2026 at 18:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 14 Sep 2026 21:00:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Sun, 13 Sep 2026 06:30:00 +0000

Type Values Removed Values Added
First Time appeared Stellarwp
Stellarwp the Events Calendar
Wordpress
Wordpress wordpress
Vendors & Products Stellarwp
Stellarwp the Events Calendar
Wordpress
Wordpress wordpress

Sat, 12 Sep 2026 07:45:00 +0000

Type Values Removed Values Added
Description The The Events Calendar plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 6.17.4 via the is_safe_widget_instance function. This is due to insufficient protection in is_safe_widget_instance, which can be bypassed because PHP fires magic methods during its pre-parse, combined with enable_rendering_widget_copied() forging a valid wp_hash integrity attribute before unserialize() is reached. This makes it possible for unauthenticated attackers to execute code on the server. This is exploitable without authentication or approval because the plugin's V2 single-event template runs do_blocks() over buffered comment HTML, and WordPress returns a moderation-hash URL that allows an unauthenticated commenter to immediately view their own pending comment, delivering the injected block markup to the vulnerable code path before any moderation occurs. This does require comments to be enabled and visible on events.
Title The Events Calendar <= 6.17.4 - Unauthenticated PHP Object Injection to Remote Code Execution
Weaknesses CWE-502
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Stellarwp The Events Calendar
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-09-14T19:23:01.925Z

Reserved: 2026-08-21T21:25:40.295Z

Link: CVE-2026-78006

cve-icon Vulnrichment

Updated: 2026-09-14T19:15:37.467Z

cve-icon NVD

Status : Deferred

Published: 2026-09-12T08:16:24.240

Modified: 2026-09-14T20:16:52.847

Link: CVE-2026-78006

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-15T18:45:18Z

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data