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

Published Apr 24, 2026
·
Updated

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 generateopenaicontentcallback() 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 Software

1 affected component
WPDeveloper BetterDocs<=4.3.11

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade wordpress/BETTERDOCS to a version that resolves this vulnerability.

    Fixed in 4.3.11
  2. Configuration

    Modify BetterDocs so generate_openai_content_callback() validates the current user has an appropriate permission/capability in addition to the nonce before making OpenAI API calls. Do not rely solely on the nonce.

    BetterDocs plugin for WordPress (generate_openai_content_callback()) capability check for authenticated users = Require a capability/permission check (not only a nonce) before triggering OpenAI API calls

Event History

Apr 24, 2026
CVE Published
via MITRE·03:27 AM
Data Sourced
via MITRE·03:27 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:16 AM
DescriptionSeverityWeakness
Jul 20, 58298
Event
via FIRST·05:01 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-6393?

CVE-2026-6393 is classified as a medium severity vulnerability due to its potential for unauthorized access to AI API functionality.

2

How do I fix CVE-2026-6393?

To fix CVE-2026-6393, update the BetterDocs plugin to version 4.3.12 or later, which includes the necessary authorization checks.

3

Who is affected by CVE-2026-6393?

CVE-2026-6393 affects all installations of the BetterDocs plugin for WordPress up to and including version 4.3.11.

4

What type of vulnerability is CVE-2026-6393?

CVE-2026-6393 is a missing authorization vulnerability that allows unauthorized AI API usage by authenticated users.

5

What components are impacted by CVE-2026-6393?

CVE-2026-6393 impacts the generate_openai_content_callback() function within the BetterDocs plugin code.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203