CVE-2025-6970
WordPress vulnerability analysis and mitigation

Overview

CVE-2025-6970 is a time-based SQL injection vulnerability in the Events Manager – Calendar, Bookings, Tickets, and more! plugin for WordPress. It affects all versions up to and including 7.0.3 (as well as versions prior to 6.6.5 in the legacy branch), allowing unauthenticated remote attackers to extract sensitive data from the WordPress database via the unsanitized orderby parameter. The vulnerability was published on July 9, 2025, with a patch released on July 11, 2025. It carries a CVSS v3.1 base score of 7.5 (High) (Wordfence, Red Hat CVE).

Technical details

The root cause is classified as CWE-89 (Improper Neutralization of Special Elements used in an SQL Command). The plugin fails to properly escape or prepare the user-supplied orderby parameter before incorporating it into SQL queries, enabling an attacker to append arbitrary SQL statements. Because the injection is time-based (blind), the attacker infers database contents by measuring server response delays rather than receiving direct output. No authentication or user interaction is required, and the attack is conducted entirely over the network. The vulnerable code path is visible in classes/em-object.php at line 1060 of the 7.0.3 tag (Wordfence, WordPress Trac).

Impact

Successful exploitation allows unauthenticated attackers to extract the entire contents of the WordPress database, including user credentials (hashed passwords), email addresses, session tokens, personal data stored by the plugin (bookings, ticket purchaser information), and any other sensitive information in the database. While the CVSS score reflects a confidentiality-only impact (no direct integrity or availability impact), stolen credentials could enable account takeover and subsequent lateral movement within the WordPress environment or connected systems (Wordfence, ENISA EUVD).

Exploitability

A public proof-of-concept exploit is available on GitHub (PoC), and a Nuclei detection template has been added to the ProjectDiscovery nuclei-templates repository. The EPSS score is approximately 0.068%, indicating a relatively low (but non-zero) probability of exploitation in the near term. There is no confirmed evidence of active in-the-wild exploitation at this time, and the vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog (Wordfence, PoC).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running the Events Manager plugin (versions ≤ 7.0.3 or < 6.6.5) using tools like WPScan, Shodan, or by checking the plugin's readme.txt file at /wp-content/plugins/events-manager/readme.txt.
  2. Identify injectable endpoint: Locate a public-facing Events Manager page or REST endpoint that accepts the orderby parameter (e.g., event listing pages or AJAX handlers).
  3. Craft time-based payload: Append a time-based SQL injection payload to the orderby parameter, such as orderby=IF(1=1,SLEEP(5),0), to confirm the injection point by observing a delayed server response.
  4. Extract data with automated tooling: Use sqlmap with the identified endpoint and parameter (e.g., sqlmap -u 'https://target.com/?orderby=1' --dbms=mysql --technique=T --level=3) to enumerate databases, tables, and extract sensitive records such as wp_users.
  5. Retrieve credentials: Dump the wp_users table to obtain usernames and hashed passwords, then attempt offline cracking or credential stuffing against the WordPress admin panel or other services (PoC, Wordfence).

Indicators of compromise

  • Network: Unusual HTTP requests to Events Manager endpoints containing SQL keywords (SLEEP, BENCHMARK, IF, UNION, SELECT) in the orderby parameter; repeated requests with incrementally varying time delays suggesting blind SQL injection probing.
  • Logs: Web server access logs showing requests to event listing URLs with encoded or obfuscated orderby values; abnormally high response times (e.g., 5+ seconds) for specific requests to Events Manager pages.
  • Process/Database: Unexpected or high-volume database queries originating from the WordPress application user, particularly queries involving SLEEP() or BENCHMARK() functions visible in MySQL slow query logs or general query logs.
  • File System: Presence of sqlmap scan artifacts or automated tool fingerprints in server logs (e.g., User-Agent strings like sqlmap/1.x).

Mitigation and workarounds

Update the Events Manager plugin immediately to version 7.0.4 or later (for the 7.x branch) or version 6.6.5 or later (for the legacy 6.x branch). The patch was committed on July 11, 2025, and is available via the WordPress plugin repository (WordPress Trac). If immediate patching is not possible, disable the Events Manager plugin or deploy WAF rules to block SQL injection attempts targeting the orderby parameter. Additionally, review database access logs for signs of prior exploitation and consider rotating WordPress user credentials as a precaution (Wordfence).

Community reactions

The vulnerability was discovered and disclosed by Wordfence, which published the advisory on July 9, 2025. Sucuri included it in their July 2025 WordPress vulnerability patch roundup (Sucuri Blog). Check Point also published a defense advisory referencing the CVE (Check Point). Community discussion was noted on Mastodon via RedPacketSecurity, and the vulnerability was indexed by multiple threat intelligence aggregators shortly after disclosure.

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-18039NONEN/A
  • essential-addons-for-elementor-lite
NoYesAug 14, 2026
CVE-2026-16810NONEN/A
  • bit-form
NoYesAug 14, 2026
CVE-2026-16739NONEN/A
  • epeken-all-kurir
NoNoAug 14, 2026
CVE-2026-15205NONEN/A
  • paymob-for-woocommerce
NoYesAug 14, 2026
CVE-2026-14290NONEN/A
  • embed-google-photos-album-easily
NoNoAug 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management