Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/betterdocs/tags/4.3.6/includes/Core/W
- https://plugins.trac.wordpress.org/browser/betterdocs/tags/4.3.6/includes/Core/W
- https://plugins.trac.wordpress.org/browser/betterdocs/trunk/includes/Core/WriteW
- https://plugins.trac.wordpress.org/browser/betterdocs/trunk/includes/Core/WriteW
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old
- https://www.wordfence.com/threat-intel/vulnerabilities/id/432b11be-174d-45d6-aa3
FAQ
What is CVE-2026-6393?
CVE-2026-6393 is a vulnerability with a CVSS score of 4.3 (MEDIUM). 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() f...
How severe is CVE-2026-6393?
CVE-2026-6393 has been rated MEDIUM with a CVSS base score of 4.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-6393?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.