# CVE-2024-8275: The Events Calendar \<= 6.6.4 - Unauthenticated SQL Injection

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 70% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2024-09-25 · Modified: 2026-04-08
- Record: https://cvemate.com/vulnerability/CVE-2024-8275 · JSON: https://cvemate.com/vulnerability/CVE-2024-8275/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 69.994%, percentile 99.387%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- stellarwp the\_events\_calendar: ≤ 6.6.4 \| \< 6.6.4.1
- wordpress the-events-calendar: ≤ 6.6.4 (fixed in 6.6.4.1)

## 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>
- <https://www.wordfence.com/threat-intel/vulnerabilities/id/f59891c7-db1a-4688-8616-8877d7d7960d>

---

Data as of 2026-12-05T11:27:26.818Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
