CVE-2026-6393 PUBLISHED

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

Assigner: Wordfence
Reserved: 15.04.2026 Published: 24.04.2026 Updated: 24.04.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
CVSS Score: 4.3

Product Status

Vendor wpdevteam
Product BetterDocs – Knowledge Base Docs & FAQ Solution for Elementor & Block Editor
Versions Default: unaffected
  • affected from 0 to 4.3.11 (incl.)

Credits

  • Phú finder

References

Problem Types

  • CWE-862 Missing Authorization CWE