PT-2026-34851 · WordPress · Betterdocs
Published
2026-04-24
·
Updated
2026-04-25
·
CVE-2026-6393
CVSS v3.1
4.3
Medium
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
BetterDocs versions prior to 4.3.12
Description
The plugin contains a missing authorization flaw caused by a lack of capability checks in the
generate openai content callback() function. The function relies exclusively on a nonce without verifying user permissions. This allows authenticated attackers with subscriber-level access or higher to trigger OpenAI API calls using the site's configured API key and arbitrary prompts, resulting in the unauthorized consumption of the site owner's paid AI API quota.Recommendations
Update to a version later than 4.3.11.
As a temporary workaround, restrict access to the
generate openai content callback() function to minimize the risk of exploitation.Fix
Missing Authorization
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Betterdocs