Skip to content
OpenAdvisories
Medium · 4.3 CVE-2026-6393 EUVD-2026-25394GHSA-hpvr-gqf8-j82g

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

Published Apr 24, 2026 · Updated Apr 24, 2026 · Assigned by Wordfence

Description

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.

Affected products

VendorProductAffectedFixed
wpdevteam BetterDocs – Knowledge Base Docs & FAQ Solution for Elementor & Block Editor ≤ 4.3.11 —

References