CVE-2024-8275: CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in stellarwp The Events Calendar
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.
AI Analysis
Technical Summary
CVE-2024-8275 is a critical SQL Injection vulnerability (CWE-89) in the The Events Calendar plugin for WordPress, affecting all versions up to and including 6.6.4. The vulnerability arises from insufficient escaping and lack of proper preparation of the 'order' parameter in the 'tribe_has_next_event' function, enabling unauthenticated attackers to append malicious SQL queries. Only sites that have manually invoked tribe_has_next_event() are vulnerable. The CVSS 3.1 base score is 9.8, reflecting network attack vector, no privileges required, no user interaction, and high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation can lead to full compromise of the database confidentiality, integrity, and availability on affected sites that use the vulnerable function. Attackers can extract sensitive data or alter database contents without authentication. However, only sites that have manually added the tribe_has_next_event() function are at risk.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, sites should avoid using the tribe_has_next_event() function or implement custom input validation and sanitization on the 'order' parameter to mitigate injection risk. Monitor vendor channels for updates and apply patches promptly once available.
CVE-2024-8275: CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in stellarwp The Events Calendar
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-8275 is a critical SQL Injection vulnerability (CWE-89) in the The Events Calendar plugin for WordPress, affecting all versions up to and including 6.6.4. The vulnerability arises from insufficient escaping and lack of proper preparation of the 'order' parameter in the 'tribe_has_next_event' function, enabling unauthenticated attackers to append malicious SQL queries. Only sites that have manually invoked tribe_has_next_event() are vulnerable. The CVSS 3.1 base score is 9.8, reflecting network attack vector, no privileges required, no user interaction, and high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation can lead to full compromise of the database confidentiality, integrity, and availability on affected sites that use the vulnerable function. Attackers can extract sensitive data or alter database contents without authentication. However, only sites that have manually added the tribe_has_next_event() function are at risk.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, sites should avoid using the tribe_has_next_event() function or implement custom input validation and sanitization on the 'order' parameter to mitigate injection risk. Monitor vendor channels for updates and apply patches promptly once available.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-08-28T18:17:19.084Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6c24b7ef31ef0b560716
Added to database: 2/25/2026, 9:39:48 PM
Last enriched: 4/9/2026, 8:24:00 AM
Last updated: 4/11/2026, 5:59:39 PM
Views: 18
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.