WordPress Plugin Vulnerabilities

The Events Calendar < 6.17.4.1 - Unauthenticated PHP Object Injection via is_safe_widget_instance Bypass

Description

The plugin is vulnerable to Remote Code Execution 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.

Affects Plugins

Fixed in 6.17.4.1

References

Classification

Type
OBJECT INJECTION
CWE
CVSS

Miscellaneous

Original Researcher
Chloe Chamberland, Wordfence Argus
Verified
No

Timeline

Publicly Published
2026-09-11 (about 4 days ago)
Added
2026-09-13 (about 1 day ago)
Last Updated
2026-09-13 (about 1 day ago)

Other