🔐 CVE Alert

CVE-2026-6393

MEDIUM 4.3

BetterDocs <= 4.3.11 - Missing Authorization to Authenticated (Subscriber+) Unauthorized AI API Usage

CVSS Score
4.3
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-862
Vendor wpdevteam
Product betterdocs – knowledge base docs & faq solution for elementor & block editor
Published Apr 24, 2026
Stay Ahead of the Next One

Get instant alerts for wpdevteam betterdocs – knowledge base docs & faq solution for elementor & block editor

Be the first to know when new medium vulnerabilities affecting wpdevteam betterdocs – knowledge base docs & faq solution for elementor & block editor are published — delivered to Slack, Telegram or Discord.

Get Free Alerts → Free · No credit card · 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability

Affected Versions

wpdevteam / BetterDocs – Knowledge Base Docs & FAQ Solution for Elementor & Block Editor
0 ≤ 4.3.11

References

NVD ↗ CVE.org ↗ EPSS Data ↗
wordfence.com: https://www.wordfence.com/threat-intel/vulnerabilities/id/432b11be-174d-45d6-aa3b-2fbfa85ec17a?source=cve plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/betterdocs/trunk/includes/Core/WriteWithAI.php#L138 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/betterdocs/tags/4.3.6/includes/Core/WriteWithAI.php#L138 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/betterdocs/trunk/includes/Core/WriteWithAI.php#L31 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/betterdocs/tags/4.3.6/includes/Core/WriteWithAI.php#L31 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3512640%40betterdocs&new=3512640%40betterdocs&sfp_email=&sfph_mail=

Credits

Phú