Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.8
CVE-2026-78006: The Events Calendar plugin lets strangers run code
CVE-2026-78006 · published 19 days ago
Summary
All versions of the The Events Calendar plugin for WordPress up to 6.17.4 are at risk. An attacker could post a comment on an event and cause the site to execute their own code, potentially taking control of the server. Update the plugin to a newer version or, if you cannot update right away, turn off comments on event pages until you can apply the fix.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| stellarwp | the events calendar | <= 6.17.4 |
Original advisory 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 insufficien...
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.
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/a0c67346-534a-4b67-a90...
- https://plugins.trac.wordpress.org/browser/the-events-calendar/tags/6.17.3/src/T...
- https://plugins.trac.wordpress.org/browser/the-events-calendar/tags/6.17.3/commo...
- https://plugins.trac.wordpress.org/browser/the-events-calendar/tags/6.17.3/src/T...
- https://plugins.trac.wordpress.org/browser/the-events-calendar/tags/6.17.3/src/T...
- https://plugins.trac.wordpress.org/browser/the-events-calendar/tags/6.17.3/src/T...
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3690576%40the-events-...
Internet-facing
3 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically
- Gives an attacker full control
Type
CWE-502Deserialization of Untrusted Data
Timeline
Published12 Sep 2026
Updated30 Sep 2026
First seen12 Sep 2026
Track software like this
Free during beta