Live threats

All CVEs / stellarwp

CVE-2026-78006stellarwp The Events Calendar

Unauthenticated Remote Code Execution in The Events Calendar for WordPress

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
—
Auth required
No
Published
Sep 12, 2026
Updated
Sep 14, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-502
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

The Events Calendar plugin for WordPress up to version 6.17.4 is vulnerable to unauthenticated remote code execution. An attacker can exploit the is_safe_widget_instance function through PHP magic methods and pending comments to inject malicious code. Exploitation requires comments to be enabled on events.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

Patch available

Update The Events Calendar to version 6.17.5 or later. If you cannot update immediately, disable comments on events.

Vendor advisory · www.wordfence.com ↗

  1. Apply the vendor's security update for The Events Calendar.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.