SardinhaNews

CVE-2024-8275

Critical🔍 NucleiBDU

Published: 09/25/2024 · Modified: 06/17/2026

CVSS 3.1ⓘ9.8
EPSSⓘ69.1%
VPR (Tenable)ⓘ—

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.

Exploitation

Requires: network access · Does not require: authentication, user interaction, special target conditions

How it is exploited

Exploitation method

  • The attacker sends an unauthenticated HTTP request to the WordPress site using the The Events Calendar plugin.
  • The site's theme or integration forwards the 'order' parameter value from the request into the events query (tribe_get_events()) with a non-past display.
  • The value reaches the ORDER BY clause without being constrained to ASC/DESC and without proper escaping.
  • The attacker appends additional SQL queries to the existing query, allowing extraction of sensitive information from the database.

Am I affected? (applicability)

  • The The Events Calendar plugin is installed in version up to and including 6.6.4.
  • The site has manually added the tribe_has_next_event() function.
  • The theme or integration forwards the 'order' parameter value from the request into the events query (tribe_get_events()) with a non-past display.

Does not require: authentication, user interaction, special target conditions.

Mitigation and detection

  • Apply the vendor fix (update The Events Calendar plugin to a corrected version, when available).
  • Remove the manual call to tribe_has_next_event() if not essential.
  • Restrict or review themes/integrations that forward the 'order' parameter to events queries.
  • Use the available automated detection (Nuclei template) to identify vulnerable instances.

Impact if exploited

Unauthenticated SQL injection allows extraction of sensitive information from the WordPress database.

Confidentiality: highIntegrity: highAvailability: high

Community reports (unverified): exploitation 1 · PoC 1

References and technical detail

The “Requires/Does not require” line and the confidentiality, integrity and availability impact come from the official CVSS vector. Method, applicability and mitigation are an automatic summary of the NVD description, public exploitation sources (Metasploit, Nuclei, Exploit-DB) and the CVE record via CIRCL (advisories and fixed version), linked under “References and technical detail”. Community reports come from CIRCL sightings and are unverified.

Exploitation probability (EPSS) over time

07/13/202608/09/202611/18/2026

Affected products

  • stellarwp · the_events_calendar

Weakness type (CWE)

Timeline on SardinhaNews

References