Automated Threat Modeling

The Events Calendar WordPress Plugin CVE-2025-9807: Brief Summary of Time-Based SQL Injection Vulnerability

A brief summary of CVE-2025-9807, a time-based SQL injection vulnerability in The Events Calendar WordPress plugin that affects all versions up to and including 6.15.1. The post covers the technical details, the affected versions, and the vendor's security history, based on available public sources.

CVE Analysis

8 min read

ZeroPath CVE Analysis
ZeroPath CVE Analysis

2025-09-11

The Events Calendar WordPress Plugin CVE-2025-9807: Brief Summary of Time-Based SQL Injection Vulnerability
Experimental AI-Generated Content

This CVE analysis is an experimental publication that is completely AI-generated. The content may contain errors or inaccuracies and is subject to change as more information becomes available. We are continuously refining our process.

If you have feedback, questions, or notice any errors, please reach out to us.

[email protected]

Introduction

Many WordPress sites depend on event management features, and The Events Calendar plugin is the go-to choice for over 700,000 active installations. A newly disclosed vulnerability, CVE-2025-9807, exposes these sites to time-based SQL injection that an attacker can trigger without authentication. A successful attack can potentially compromise the database and leak its data.

The Events Calendar is developed by theeventscalendar.com. It is one of the most widely used plugins in the WordPress ecosystem, so a security issue here affects organizations of all sizes.

Technical information

CVE-2025-9807 is a time-based SQL injection vulnerability in The Events Calendar plugin for WordPress, present in all versions up to and including 6.15.1. The root cause is how the plugin handles the 's' parameter, which it typically uses for search. The plugin does not escape that input sufficiently and does not use prepared statements for it.

The vulnerable code is in src/Events/Custom_Tables/V1/WP_Query/Custom_Tables_Query.php (reference).

An attacker can send specially crafted input in the 's' parameter. Because the plugin does not properly sanitize or parameterize that input, the attacker can inject SQL into the queries the plugin executes. In a time-based SQL injection, the attacker calls a database timing function (such as SLEEP() in MySQL) and infers data from how long the server takes to respond to different queries. This lets the attacker exfiltrate data even when error messages are suppressed or the query output is not directly visible.

The plugin's custom query implementation bypasses some of WordPress's built-in protections, so it is more susceptible to this class of vulnerability. No public patch or detection method is currently available.

Affected systems and versions

  • Product: The Events Calendar WordPress plugin
  • Affected versions: All versions up to and including 6.15.1
  • Vulnerable configuration: Any WordPress site with the plugin enabled and reachable by unauthenticated users

Vendor security history

The Events Calendar plugin has a history of critical security issues, including:

The recurrence of similar vulnerabilities suggests ongoing problems with the vendor's secure development and code review practices.

References

Detect & fix
what others miss

Works with
  • GitHub
  • GitLab
  • Bitbucket
  • Azure DevOps Services
  • Gerrit
  • CVS
  • Jira
  • Linear
  • Slack
  • Security Compass
Explore integrations
Security magnifying glass visualization