the-events-calendar is vulnerable to Code Injection
98
Critical Risk
is_safe_widget_instance() only accepts object widget instances, so a plain-array classes map slips past that check and reaches Element_Classes::parse_array(), which invokes caller-supplied callables. An unauthenticated commenter can submit a crafted wp:legacy-widget block; when do_blocks() processes the single-event HTML including the comment area, that payload runs as PHP on the server. Successful exploitation leads to remote code execution. The fix validates the widget classes map so array payloads cannot reach the callable-invocation sink.
You are affected if you are using a version that falls within the vulnerable range and comments are enabled on tribe_events posts.
the-events-calendar is vulnerable to Code Injection in versions 0.0.1 - 6.17.3.
Upgrade the the-events-calendar and/or the The Events Calendar library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.