Patchfirst
CVE-2026-78006 Public exploit Critical · 9.8 EPSS 1.5%

The Events Calendar <= 6.17.4 - Unauthenticated PHP Object Injection to Remote Code Execution

No fixed version listed yet.Check the vendor advisory. References ↓

stellarwp · The Events Calendar

Summary

The Events Calendar plugin for WordPress, in versions up to and including 6.17.4, contains an unauthenticated PHP object injection flaw in its is_safe_widget_instance check, which can be bypassed and leads to unsafe deserialization. An unauthenticated attacker who can submit a comment on an event where comments are enabled and visible can exploit it by using the moderation-hash URL to view their own pending comment, which delivers the crafted block markup to the vulnerable code path before moderation occurs, leading to remote code execution on the server.

Official description · CVE.org

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.

Breakdown
73.7 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited the day it was disclosed. Public exploit code (PoC-in-GitHub) appeared 1 day after disclosure.

  1. DisclosedFirst seen exploitedVulnCheck KEV evidenceday 0
  2. Public exploit codePoC-in-GitHub+1 day

Affected versions and fixes

as published in the CVE record

stellarwp The Events Calendar

Affected: <= 6.17.4

What security researchers reported

Not named in any threat report yet

Also mentioned in 6 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

6 links, grouped by NVD tag (1 duplicate merged)
↑ ↓ chooseEnter openEsc close