Vulnerability · Published Jun 19, 2026 · Assigned by Wordfence
CVE-2026-7515BetterDocs Pro <= 3.8.0 - Unauthenticated Local File Inclusion via doc_style
Critical 9.8
In plain English
A critical-severity security flaw in BetterDocs Pro from betterdocs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 61% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code.
Official description
The BetterDocs Pro plugin for WordPress is vulnerable to Local File Inclusion in versions up to, and including, 3.8.0 via the `doc_style` parameter. This makes it possible for unauthenticated attackers to include and execute arbitrary .php files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where .php file types can be uploaded and included.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| betterdocs | BetterDocs Pro | 0 – through 3.8.0 |
Weakness: CWE-98 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H