{"id":"CVE-2026-6393","aliases":["CVE-2026-6393"],"related":[],"kind":"vulnerability","state":"published","title":"BetterDocs <= 4.3.11 - Missing Authorization to Authenticated (Subscriber+) Unauthorized AI API Usage","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-04-24T03:27:05.541Z","modified":"2026-06-17T11:00:46.273Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-862"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"4.3.11","status":"affected"}],"vendor":"wpdevteam","product":"BetterDocs –  Knowledge Base Docs & FAQ Solution for Elementor & Block Editor","source":"cvelist"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/432b11be-174d-45d6-aa3b-2fbfa85ec17a?source=cve","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/betterdocs/trunk/includes/Core/WriteWithAI.php#L138","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/betterdocs/tags/4.3.6/includes/Core/WriteWithAI.php#L138","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/betterdocs/trunk/includes/Core/WriteWithAI.php#L31","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/betterdocs/tags/4.3.6/includes/Core/WriteWithAI.php#L31","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3512640%40betterdocs&new=3512640%40betterdocs&sfp_email=&sfph_mail=","tags":[],"sources":["cvelist","nvd"]}],"credits":["Phú"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-04-24T10:46:06.950Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-6393","url":"https://www.cve.org/CVERecord?id=CVE-2026-6393","licence":"CVE Terms of Use","modified":"2026-04-24T10:46:24.083Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-6393","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6393","licence":"Public domain","modified":"2026-06-17T11:00:46.273Z"}],"updatedAt":"2026-11-25T22:59:19.460Z","epss":{"score":0.0028,"percentile":0.22037,"date":"2026-12-01T12:00:22.000Z"}}