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

High 7.5 Published Updated

Unauthenticated attackers can extract sensitive database information via SQL injection in the BetterDocs Pro plugin when the Encyclopedia feature is enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-4348?

CVE-2026-4348 is a high-severity SQL injection vulnerability in BetterDocs Pro, published on 7 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-89

Which versions are affected by CVE-2026-4348?

How do I fix CVE-2026-4348?

No fix has been published for CVE-2026-4348 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2026-4348 being exploited?

There is no known exploitation of CVE-2026-4348 in the wild and no public exploit code.

Sources

Also known as GHSA-89cx-53rv-jcx8.

Is CVE-2026-4348 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free