
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-7638 is a time-based SQL Injection vulnerability in the Forminator Forms – Contact Form, Payment Form & Custom Form Builder WordPress plugin, affecting all versions up to and including 1.45.0. The flaw exists in the order_by parameter due to insufficient escaping and lack of proper SQL query preparation, allowing authenticated attackers with Administrator-level access to extract sensitive data from the database. It was published on July 18, 2025, and assigned a CVSS v3.1 base score of 4.9 (Medium) (Wordfence, Red Hat CVE).
The root cause is classified as CWE-89 (Improper Neutralization of Special Elements used in an SQL Command). The vulnerable code resides in library/model/class-form-entry-model.php (around line 2561), where the order_by parameter is incorporated into an SQL query without adequate escaping or use of prepared statements (Wordfence, WordPress Trac). The attack vector is network-based, requires no user interaction, but does require high privileges (Administrator-level authentication). Exploitation takes the form of time-based blind SQL injection, where an attacker appends malicious SQL clauses to infer database contents through response timing differences.
Successful exploitation allows an authenticated administrator-level attacker to extract sensitive information from the WordPress database, potentially including user credentials, personal data stored in form submissions, configuration details, and other confidential records. The vulnerability has no integrity or availability impact (confidentiality impact is rated High), meaning attackers cannot modify or delete data through this vector alone. However, database credential exposure could enable further lateral movement or privilege escalation within the hosting environment (Wordfence).
order_by parameter.order_by parameter in the HTTP request to include a time-based SQL injection payload (e.g., appending IF(1=1, SLEEP(5), 0) or similar DBMS-specific timing constructs).sqlmap with session cookies to systematically dump the WordPress database, targeting tables like wp_users and Forminator-specific entry tables (Wordfence, WordPress Trac).order_by parameter values containing SQL keywords (e.g., SLEEP, IF, BENCHMARK, WAITFOR).order_by parameter; requests with notably delayed response times (indicative of SLEEP-based payloads).Users should update the Forminator Forms plugin to a version beyond 1.45.0 that includes a fix for this vulnerability. As an interim measure, restrict administrator access to trusted users only and consider using a web application firewall (WAF) rule to block requests containing SQL injection patterns in the order_by parameter. Monitor the Wordfence advisory and the WordPress plugin repository for the availability of a patched release (Wordfence).
The vulnerability was reported and assigned by Wordfence, which published the advisory on July 18, 2025. Sucuri noted it in their July 2025 WordPress vulnerability patch roundup, indicating routine coverage within the WordPress security community (Sucuri Blog). No significant broader media coverage or notable researcher commentary beyond standard vulnerability tracking has been observed.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."