BetterDocs Pro WordPress Plugin SQL Injection Vulnerability

Vulnerability

A SQL injection vulnerability has been identified in the BetterDocs Pro plugin for WordPress, affecting all versions through 3.7.0. The vulnerability arises in the 'get_current_letter_docs' and 'docs_sort_by_letter' AJAX actions, where the 'limit' POST parameter is directly inserted into a SQL query without proper sanitization. This flaw allows unauthenticated attackers to manipulate the SQL query, potentially leading to the extraction of sensitive database information. Exploitation of this vulnerability requires the Encyclopedia feature to be enabled in the BetterDocs Pro settings.

Impact

Exploitation of this vulnerability allows for SQL injection, where an attacker can interfere with the database queries made by the application. This could lead to unauthorized data access, data manipulation, or in some cases, executing administrative operations on the database.

Remediation

Users are advised to update the BetterDocs Pro plugin to version 3.7.1 or later, where this vulnerability has been patched.

Added: May 7, 2026, 6:28 AM
Updated: May 7, 2026, 6:28 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
7.4
remediation
0.0
relevance
7.7
threat
0.0
urgency
2.9
incentive
4.2

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.