CVE-2026-6393 BetterDocs <= 4.3.11 - Missing Authorization to Authenticated (Subscriber+) Unauthorized AI API Usage
Authenticated subscribers can trigger unauthorized OpenAI API calls using the site's key, consuming the owner's paid quota without proper permission checks.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-6393?
CVE-2026-6393 is a medium-severity missing authorization vulnerability in wpdevteam BetterDocs – Knowledge Base Docs & FAQ Solution for Elementor & Block Editor, published on 24 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-862
Which versions are affected by CVE-2026-6393?
How do I fix CVE-2026-6393?
No fix has been published for CVE-2026-6393 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2026-6393 being exploited?
There is no known exploitation of CVE-2026-6393 in the wild and no public exploit code.
Sources
Also known as GHSA-hpvr-gqf8-j82g.