Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify WordPress site running BetterDocs Pro ≤3.8.0
-
DeliverySend unauthenticated request with crafted doc_style parameter
-
ExploitTrigger PHP include of attacker-chosen path
-
ExecutionExecute PHP from uploaded or existing file
-
PersistDrop webshell / exfiltrate wp-config.php
-
ImpactPivot to database and admin takeover
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V5 - File Handling File inclusion prevention, allowlisting
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Command and Control The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The BetterDocs Pro plugin must be installed and active on the target WordPress site at version 3.8.0 or earlier, and the endpoint that consumes the |
| Impact | All available signals point to genuinely high real-world risk rather than an inflated score. The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H is internally consistent with the description - the doc_style parameter is reachable over HTTP without authentication or user interaction, and successful inclusion of any attacker-controlled or attacker-influenced |
| Exploit ScenarioDerived | An unauthenticated attacker sends a single crafted GET or POST request to a BetterDocs Pro endpoint with a |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 19, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Betterdocs gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
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.
Articles & Coverage 1
Executive ViewAI
An unauthenticated remote code execution vulnerability in BetterDocs Pro for WordPress (versions through 3.8.0) allows attackers to execute arbitrary code on affected web servers and take complete control of WordPress installations. Organizations using this widely-deployed documentation plugin face immediate risk of website compromise, data theft, and operational disruption. With no patch currently available from the vendor and the vulnerability's network-accessible nature, this represents a critical organizational threat requiring emergency mitigation.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Completely disable and remove BetterDocs Pro plugin from production; (2) If operational continuity requires the plugin, implement Web Application Firewall rules to block requests containing 'doc_style' parameters with file path indicators; (3) Restrict WordPress admin access to allowlisted IP addresses; (4) Enable comprehensive logging of all plugin-related activity and configure SIEM alerts; (5) Maintain offline backup of uncompromised website baseline.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Local File Inclusion vulnerabilities occur when an application accepts user-controlled input to specify which file should be loaded or executed, typically through functions like PHP's `include()`, `require()`, or `fopen()`.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in Betterdocs
View allDeserialization of Untrusted Data vulnerability in WPDeveloper BetterDocs.3.3. Rated critical severity (CVSS 9.0), this
Stored cross-site scripting via prompt injection in the BetterDocs WordPress plugin (versions 4.0.0 through 4.5.5) allow
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in WPDeveloper BetterDocs a
Unauthenticated SQL injection in BetterDocs Pro for WordPress allows remote attackers to extract sensitive database cont
Stored Cross-Site Scripting (XSS) in the BetterDocs WordPress plugin version 4.6.2 and earlier allows authenticated user
Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in WPDeveloper
Sensitive system information in the BetterDocs WordPress knowledge base plugin (WPDeveloper, all versions through 4.3.10
Missing Authorization vulnerability in WPDeveloper BetterDocs betterdocs allows Exploiting Incorrectly Configured Access
EUVD-2026-37992
GHSA-g4w7-q4vw-589x
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB