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

- Severity: High 7.5 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 35% of CVEs (2026-12-01)
- Published: 2026-05-07T04:27:09.916Z
- Modified: 2026-06-17T10:56:27.340Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- betterdocs BetterDocs Pro: up to 3.7.0

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/5c0f02ad-f5f1-42b1-8116-e391aaa85430?source=cve>
- <https://betterdocs.co/changelog/>

## Sources

- CVE List: [CVE-2026-4348](https://www.cve.org/CVERecord?id=CVE-2026-4348), CVE Terms of Use, modified 2026-05-07
- NVD: [CVE-2026-4348](https://nvd.nist.gov/vuln/detail/CVE-2026-4348), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-4348 · Whole record: https://cve.day/CVE-2026-4348.json · Rebuilt by cve.day 2026-11-25T22:59:20.864Z
