# CVE-2026-6393

> Vulnerability · severity: **MEDIUM** (CVSS 4.3).

## 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.

## Key facts

- **CVE ID:** CVE-2026-6393
- **Published:** 2026-04-24
- **CVSS severity:** MEDIUM
- **CVSS base score:** 4.3
- **CWE codes:** CWE-862

## Primary sources

- NIST NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-6393

## Citation

> AI Analytics. CVE-2026-6393. Retrieved 2026-07-24 from https://api.ai-analytics.org/cve/CVE-2026-6393. Derived from NIST NVD. Licensed CC0.

---

*[Dataset catalog](https://api.ai-analytics.org/datasets/) · [AI Analytics](https://api.ai-analytics.org/) · CC0 1.0*