The Events Calendar <= 6.6.4 - Unauthenticated SQL Injection
CVE-2024-8275Published 25 Sep 2024, 04:30 UTC
Real-world risk
10.0/ 10Critical
Act now
PreliminaryFrom the CVSS vector only · confidence low
CVSS
9.8
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from Wordfence)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| The Events CalendarCommon | <= 6.6.4 | — |
| the_events_calendarNiche | <= 6.6.4 | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T4: Weaponized (× 1.00)
A Metasploit module, a Nuclei template, or a verified Exploit-DB entry
- Nuclei scanner template (link)
EPSS 70.0% chance of exploitation in 30 days (percentile 99), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together1.000
- Threat T4: Weaponized1.000
- 10 × impact 1 × prerequisites 1 × threat 110.000
- Rounded to one decimal between 0.1 and 1010.0
Exploitation and evidence timeline
- 25 Sep 2024 Published
- 3 Dec 2026 Nuclei scanner template first seen
- 3 Dec 2026 Risk 10.0 (cvss fallback)
Weakness
CWE-89
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/f59891c7-db1a-4688-8616-8877d7d7960d?source=cve
- https://theeventscalendar.com/knowledgebase/customizing-template-files-2-legacy/
- https://docs.theeventscalendar.com/reference/functions/tribe_has_next_event/
- 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
- CVE-2024-8275 on CVE.org