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

4.3
Missing Authorization
CVE CVE-2026-6393
CVSS 4.3 (Medium)
Publicly Published April 23, 2026
Last Updated April 24, 2026
Researcher h0xilo

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.

References

Share

Vulnerability Details for BetterDocs – AI Documentation, Knowledge Base, Docs, Wikis, FAQ with Chatbot

Software Type Plugin
Software Slug betterdocs (view on wordpress.org)
Patched? Yes
Remediation Update to version 4.3.12, or a newer patched version
Affected Version
  • <= 4.3.11
Patched Version
  • 4.3.12

Recent vulnerabilities in BetterDocs – AI Documentation, Knowledge Base, Docs, Wikis, FAQ with Chatbot

# Title CVE ID CVSS Researchers Date
1 BetterDocs – AI Documentation, Knowledge Base, Docs, Wikis, FAQ with Chatbot <= 4.6.2 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2026-65562 6.4 Ananda Dhakal July 24, 2026
2 BetterDocs <= 4.6.0 - Authenticated (Custom+) SQL Injection via 'lang' Parameter CVE-2026-15104 6.5 Wordfence PRISM July 9, 2026
3 BetterDocs <= 4.5.4 - Unauthenticated Stored Cross-Site Scripting CVE-2026-11371 7.2 Drew Webber (mcdruid) June 25, 2026
4 BetterDocs <= 4.5.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'blockId' Block Attribute CVE-2026-12157 6.4 Craniums June 18, 2026
5 BetterDocs <= 4.3.8 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode Attributes CVE-2026-3875 6.4 Muhammad Yudha - DJ April 15, 2026
6 BetterDocs <= 4.3.10 - Unauthenticated Information Exposure CVE-2026-42644 5.3 hivesec March 18, 2026
7 BetterDocs <= 4.3.3 - Authenticated (Contributor+) Sensitive Information Exposure CVE-2025-14980 6.5 Dmitrii Ignatyev January 8, 2026
8 BetterDocs <= 4.1.1 - Missing Authorization to Private And Password-Protected Posts Information Disclosure CVE-2025-7499 5.3 xitsec August 15, 2025
9 BetterDocs <= 3.5.8 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2024-43227 6.4 João Pedro Soares de Alcântara August 9, 2024
10 BetterDocs <= 3.5.8 - Authenticated (Contributor+) Local File Inclusion CVE-2024-43129 8.8 João Pedro Soares de Alcântara August 7, 2024

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation