CVE-2026-78159
The The Events Calendar plugin for WordPress is vulnerable to …
The The Events Calendar plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 6.17.3 via the parse_array function. This is due to insufficient validation of the widget 'classes' map, allowing a plain-array payload to bypass the is_safe_widget_instance() object check and reach the callable-invocation sink in Element_Classes::parse_array(). This makes it possible for unauthenticated attackers to execute code on the server. Exploitation requires that the targeted site has comments enabled on tribe_events posts and that at least one comment containing a crafted wp:legacy-widget block has been submitted, as the attack chain is triggered when do_blocks() processes the single-event HTML including the comment area.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- plugins.trac.wordpress.org/browser/the-events-calendar/tags/6.17.3/common/src/Tribe/Utils/
- plugins.trac.wordpress.org/browser/the-events-calendar/tags/6.17.3/src/Tribe/Views/V2/Temp
- plugins.trac.wordpress.org/browser/the-events-calendar/tags/6.17.3/src/Tribe/Views/V2/Widg
- plugins.trac.wordpress.org/browser/the-events-calendar/tags/6.17.3/src/views/v2/components
- plugins.trac.wordpress.org/changeset?reponame=&old=3667866%40the-events-calendar&new=36678
- plugins.trac.wordpress.org/changeset?reponame=&old=3667867%40the-events-calendar&new=36678
- www.wordfence.com/threat-intel/vulnerabilities/id/cc2ccfeb-6df6-4fee-96a5-94f8dd131f7c?sou
- nvd.nist.gov/vuln/detail/CVE-2026-78159
- cve.org/CVERecord?id=CVE-2026-78159
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.