CVE-2024-8275
Description
The The Events Calendar plugin for WordPress is vulnerable to SQL Injection via the 'order' parameter of the 'tribe_has_next_event' function in all versions up to, and including, 6.6.4 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. Only sites that have manually added tribe_has_next_event() will be vulnerable to this SQL injection.
Affected WordPress components
-
The Events Calendar Plugin · the-events-calendarUp to and including 6.6.4View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- stellarwp The Events Calendar — Up to and including 6.6.4
- theeventscalendar the_events_calendar — Up to and including 6.6.4
- stellarwp the_events_calendar — Before 6.6.4.1
References
- docs.theeventscalendar.com https://docs.theeventscalendar.com/reference/functions/tribe_has_next_event/ Product
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3152853%40the-events-calendar&new=3152853%40the-events-calendar&sfp_email=&sfph_mail=#file18 Patch
- theeventscalendar.com https://theeventscalendar.com/knowledgebase/customizing-template-files-2-legacy/ Product
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/f59891c7-db1a-4688-8616-8877d7d7960d?source=cve Third Party Advisory
- nvd.nist.gov Official NVD record