Auth bypass in Wpdevteam Betterdocs – Knowledge Base Docs & Faq Solution For Elementor Block Editor
CVE-2026-6393
The BetterDocs plugin for WordPress is vulnerable to Missing Authorization in versions up to and including 4.3.11. This is due to a missing capability check in the generate_openai_content_callback() function, which relies solely on a nonce rather than verifying user permissions. This makes it possible for authenticated attackers, with subscriber-level access and above, to trigger OpenAI API calls using the site's configured API key with arbitrary user-controlled prompts, leading to unauthorized consumption of the site owner's paid AI API quota.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N.
EPSS exploit prediction
EPSS 0.003, 19.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- www.wordfence.com/threat-intel/vulnerabilities/id/432b11be-174d-45d6-aa3b-2fbfa…
- plugins.trac.wordpress.org/browser/betterdocs/trunk/includes/Core/WriteWithAI.p…
- plugins.trac.wordpress.org/browser/betterdocs/tags/4.3.6/includes/Core/WriteWit…
- plugins.trac.wordpress.org/browser/betterdocs/trunk/includes/Core/WriteWithAI.p…
- plugins.trac.wordpress.org/browser/betterdocs/tags/4.3.6/includes/Core/WriteWit…
- plugins.trac.wordpress.org/changeset