Summary
generated automatically from NVD dataThe Events Calendar plugin for WordPress, in versions up to and including 6.17.4, has a Remote Code Execution flaw (CWE-502) in the is_safe_widget_instance function. The check can be bypassed because PHP fires magic methods during pre-parse and enable_rendering_widget_copied() forges a valid wp_hash attribute before unserialize() runs. An unauthenticated attacker could execute code on the server by submitting a comment, provided comments are enabled and visible on events. The CVSS v3.1 score is 9.8 (CRITICAL).
NVD 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.
EPSS · FIRST.org
1.5%probability of exploitation in the next 30 days
Higher than 73% of scored CVEs
EPSS (Exploit Prediction Scoring System) estimates, from observed exploitation activity, how likely a CVE is to be exploited in the next 30 days. It complements CVSS, which measures severity, not likelihood. Score of 2026-10-18, recomputed daily by FIRST.org.
In-depth analysis on cveo.tech
We've published a detailed analysis of this CVE — exploitation, IOCs and mitigation.
CVSS v3.1 Score
Information
- Published
- 12 sept. 2026
- Updated
- 14 sept. 2026
- Status
- Deferred
- Source
- security@wordfence.com
Weaknesses (CWE)
References (7)
Similar CVEs
Other vulnerabilities of type CWE-502
Monitor your products
Get automatic alerts for every new CVE affecting your equipment.