CVE-2026-2508
Received Received - Intake

Time-Based SQL Injection in Gravity Forms Booking WordPress Plugin

Vulnerability report for CVE-2026-2508, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-06-25

Last updated on: 2026-06-25

Assigner: Wordfence

Description

The Gravity Forms Booking plugin for WordPress is vulnerable to time-based SQL Injection via the β€˜staff_id’ parameter in all versions up to, and including, 2.7.1 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with Subscriber-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-06-25
Last Modified
2026-06-25
Generated
2026-07-15
AI Q&A
2026-06-25
EPSS Evaluated
2026-07-14
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
gravity_forms gravity_forms_booking to 2.7.1 (inc)
gravity_forms gravity_forms_booking to 2.7.2 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Detection Guidance

This vulnerability involves a time-based SQL Injection via the 'staff_id' parameter in the Gravity Forms Booking plugin for WordPress versions up to 2.7.1. Detection typically involves monitoring for unusual or suspicious SQL queries or HTTP requests that include manipulation of the 'staff_id' parameter.

Since the vulnerability requires authenticated access at Subscriber level or above, detection can include reviewing logs for suspicious POST or GET requests to the plugin endpoints where 'staff_id' is passed.

Specific commands to detect exploitation attempts might include using web server access logs or application logs to search for suspicious 'staff_id' parameter values, for example:

  • Using grep to find suspicious 'staff_id' parameters in web server logs: grep -i 'staff_id=' /var/log/apache2/access.log
  • Using curl or similar tools to test for time delays indicative of time-based SQL injection: curl -X POST -d 'staff_id=1 AND SLEEP(5)' https://yourwordpresssite.com/path_to_plugin_endpoint

Additionally, employing web application firewalls (WAFs) or SQL injection detection tools that monitor for time-based delays or anomalous SQL query patterns can help detect exploitation attempts.

Ultimately, the best mitigation and detection is to update the plugin to version 2.7.2 or later, as noted in the changelog.

Executive Summary

CVE-2026-2508 is a time-based SQL Injection vulnerability in the Gravity Forms Booking plugin for WordPress, affecting all versions up to and including 2.7.1. The vulnerability arises because the 'staff_id' parameter is not properly escaped or prepared in SQL queries. This allows authenticated users with Subscriber-level access or higher to inject additional SQL commands into existing queries.

By exploiting this flaw, attackers can extract sensitive information from the database by appending malicious SQL queries.

Impact Analysis

This vulnerability can lead to unauthorized disclosure of sensitive data stored in the database because attackers can execute additional SQL queries through the vulnerable 'staff_id' parameter.

Since the attack requires only Subscriber-level access, it lowers the barrier for exploitation by authenticated users, potentially compromising confidentiality of data.

The CVSS base score of 6.5 indicates a medium severity impact, primarily affecting confidentiality without impacting integrity or availability.

Mitigation Strategies

The immediate step to mitigate this vulnerability is to update the Gravity Forms Booking plugin to version 2.7.2 or later.

Version 2.7.2 includes code improvements and deprecates legacy versions that may contain unresolved security issues, including the time-based SQL Injection vulnerability.

Compliance Impact

The vulnerability allows authenticated attackers with Subscriber-level access and above to perform time-based SQL Injection via the 'staff_id' parameter, potentially extracting sensitive information from the database.

This exposure of sensitive data could lead to non-compliance with data protection regulations such as GDPR and HIPAA, which require safeguarding personal and sensitive information against unauthorized access.

Therefore, if exploited, this vulnerability may result in violations of these standards due to unauthorized data disclosure.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-2508. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart