CVE-2026-4348 HIGH

CVE-2026-4348: BetterDocs Pro <= 3.7.0 - Unauthenticated SQL Injection via Encyclopedia 'limit' Parameter

Vendor Betterdocs
Product BetterDocs Pro
Weakness CWE-89 · SQLi
Published May 7, 2026
Last update May 7, 2026

CVSS base score

7.5/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality High
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What the vulnerability does

01Description

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.

Explanation of Vulnerability in Simple Terms

02Summary

BetterDocs Pro versions 3.7.0 and earlier contain a SQL injection vulnerability accessible over the network without authentication. An attacker can craft a malicious request to read sensitive data from the site's database, including user information and configuration details. Update to a version newer than 3.7.0 immediately.

What an attacker can do

03Attacker Capabilities

Read sensitive data from the site database without logging in.

Potential impact on your site

04Site Impact

Attackers can extract user data, credentials, and other sensitive information stored in your database.

Conditions required to exploit

05Prerequisites

Network access to the site; no authentication or user interaction required.

Key dates

06Disclosure timeline

May 7, 2026 CVE published
May 7, 2026 Record updated

Related vulnerabilities

08Related CVE