CVE-2026-4348

HIGH CVSS 3.1: 7.5 EPSS 0.40%
Updated Jun 17, 2026
WordPress
Parameter Value
CVSS 7.5 (HIGH)
Type CWE-89 (SQL Injection)
Vendor WordPress
Public PoC No

The BetterDocs Pro plugin for WordPress is vulnerable to SQL Injection via the `get_current_letter_docs` and `docs_sort_by_letter` AJAX actions in all versions up to, and including, 3.7.0. This is due to the `limit` POST parameter being interpolated directly into a SQL query string before being passed to `$wpdb->prepare()`, which only parameterizes other variables. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

The Encyclopedia feature must be enabled in BetterDocs Pro settings for the vulnerability to be exploitable.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v3.1

Weakness Type (CWE)