Home

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.

PUBLISHED Reserved 2026-04-15 | Published 2026-04-24 | Updated 2026-04-24 | Assigner Wordfence




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

Problem types

CWE-862 Missing Authorization

Product status

Default status
unaffected

Any version
affected

Timeline

2026-04-15:Vendor Notified
2026-04-23:Disclosed

Credits

Phú finder

References

www.wordfence.com/...-174d-45d6-aa3b-2fbfa85ec17a?source=cve

plugins.trac.wordpress.org/.../includes/Core/WriteWithAI.php

plugins.trac.wordpress.org/.../includes/Core/WriteWithAI.php

plugins.trac.wordpress.org/.../includes/Core/WriteWithAI.php

plugins.trac.wordpress.org/.../includes/Core/WriteWithAI.php

plugins.trac.wordpress.org/...tterdocs&sfp_email=&sfph_mail=

cve.org (CVE-2026-6393)

nvd.nist.gov (CVE-2026-6393)

Download JSON