Skip to main content

BetterDocs Pro CVE-2026-7515

| EUVDEUVD-2026-37992 CRITICAL
PHP Remote File Inclusion (CWE-98)
2026-06-19 Wordfence GHSA-g4w7-q4vw-589x
9.8
CVSS 3.1 · Vendor: Wordfence
Share

Severity by source

Vendor (Wordfence) PRIMARY
9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI
9.8 CRITICAL

Unauthenticated HTTP-reachable `doc_style` parameter directly drives a PHP include with no user interaction, yielding full code execution and therefore high C/I/A.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Analysis Generated
Jun 19, 2026 - 06:33 vuln.today
CVE Published
Jun 19, 2026 - 05:33 nvd
CRITICAL 9.8

DescriptionCVE.org

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.

AnalysisAI

Unauthenticated remote code execution in BetterDocs Pro for WordPress (versions through 3.8.0) is achievable by abusing the doc_style parameter to include arbitrary local PHP files. Wordfence has assigned a critical 9.8 CVSS score, and while no public exploit identified at time of analysis, the unauthenticated network-reachable nature of the flaw on a widely deployed WordPress documentation plugin makes opportunistic mass-exploitation likely once details propagate.

Technical ContextAI

BetterDocs Pro is a commercial WordPress plugin for building product documentation/knowledge-base sites, published by WPDeveloper/Betterdocs (CPE cpe:2.3:a:betterdocs:betterdocs_pro). The bug is a classic CWE-98 (Improper Control of Filename for Include/Require Statement in PHP Program, often called PHP Remote File Inclusion / Local File Inclusion). The vulnerable code path passes the user-controlled doc_style query parameter into a PHP include/require (or wrapper such as locate_template) without normalising the path or constraining it to an allow-list of template names, so traversal sequences or absolute paths resolve to arbitrary .php files on disk and are executed in the WordPress request context.

RemediationAI

Upgrade BetterDocs Pro to the first version released after 3.8.0 as documented in the vendor changelog at https://betterdocs.co/changelog/ - the exact fixed version is not stated in the provided intelligence (Patch available per vendor advisory, version not independently confirmed), so confirm the patched build by cross-referencing the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/694b67d2-7d60-4764-a2c0-02698c331772 before deploying. Until the update is applied, deactivate the BetterDocs Pro plugin (the documentation portal will be offline while disabled), or place a WAF/virtual-patch rule that blocks or strictly allow-lists the doc_style request parameter to a known set of template tokens and rejects values containing /, \, .., null bytes, php:// or phar:// wrappers; note that overly strict filtering may break legitimate custom doc styles. As a defence-in-depth measure, harden PHP by setting open_basedir, restricting upload directories from executing PHP (e.g. php_flag engine off in wp-content/uploads), and reviewing access logs for requests containing doc_style= with suspicious payloads.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

Share

CVE-2026-7515 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy