CVE-2026-7515: CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in betterdocs BetterDocs Pro
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.
AI Analysis
Technical Summary
CVE-2026-7515 describes a Local File Inclusion vulnerability in the BetterDocs Pro WordPress plugin (<=3.8.0) through improper control of the 'doc_style' parameter. This flaw allows unauthenticated attackers to include arbitrary PHP files on the server, enabling execution of arbitrary code. The vulnerability is classified under CWE-98 (Improper Control of Filename for Include/Require Statement in PHP Program). The CVSS v3.1 score is 9.8, indicating critical severity with network attack vector, low attack complexity, no privileges required, no user interaction, and high impact on confidentiality, integrity, and availability. No vendor advisory or patch is currently available, and no known exploits in the wild have been reported.
Potential Impact
Successful exploitation allows unauthenticated attackers to execute arbitrary PHP code on the affected server. This can lead to bypassing access controls, unauthorized data disclosure, and full system compromise. The vulnerability affects confidentiality, integrity, and availability of the system with critical severity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict access to the vulnerable plugin and consider disabling or removing BetterDocs Pro if possible. Monitor for updates from the vendor and apply patches promptly once available.
CVE-2026-7515: CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in betterdocs BetterDocs Pro
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.
CVSS v3.1
Score 9.8critical
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-7515 describes a Local File Inclusion vulnerability in the BetterDocs Pro WordPress plugin (<=3.8.0) through improper control of the 'doc_style' parameter. This flaw allows unauthenticated attackers to include arbitrary PHP files on the server, enabling execution of arbitrary code. The vulnerability is classified under CWE-98 (Improper Control of Filename for Include/Require Statement in PHP Program). The CVSS v3.1 score is 9.8, indicating critical severity with network attack vector, low attack complexity, no privileges required, no user interaction, and high impact on confidentiality, integrity, and availability. No vendor advisory or patch is currently available, and no known exploits in the wild have been reported.
Potential Impact
Successful exploitation allows unauthenticated attackers to execute arbitrary PHP code on the affected server. This can lead to bypassing access controls, unauthorized data disclosure, and full system compromise. The vulnerability affects confidentiality, integrity, and availability of the system with critical severity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict access to the vulnerable plugin and consider disabling or removing BetterDocs Pro if possible. Monitor for updates from the vendor and apply patches promptly once available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-04-30T15:40:25.530Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a34df99f198dc38c19de73a
Added to database: 06/19/2026, 06:20:09 UTC
Last enriched: 06/26/2026, 13:04:06 UTC
Last updated: 08/02/2026, 02:54:15 UTC
Views: 138
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.