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 is a critical Local File Inclusion vulnerability (CWE-98) in the BetterDocs Pro WordPress plugin affecting versions up to 3.8.0. The vulnerability arises from improper control of the filename used in an include/require statement via the doc_style parameter. Exploitation enables unauthenticated attackers to include arbitrary PHP files, resulting in arbitrary code execution, access control bypass, and potential disclosure of sensitive data.
Potential Impact
Successful exploitation allows remote unauthenticated attackers to execute arbitrary PHP code on the affected server. This can lead to full system compromise, including bypassing access controls and accessing sensitive information stored on the server.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the vulnerable parameter where possible and monitor for suspicious activity related to file inclusion attempts.
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 is a critical Local File Inclusion vulnerability (CWE-98) in the BetterDocs Pro WordPress plugin affecting versions up to 3.8.0. The vulnerability arises from improper control of the filename used in an include/require statement via the doc_style parameter. Exploitation enables unauthenticated attackers to include arbitrary PHP files, resulting in arbitrary code execution, access control bypass, and potential disclosure of sensitive data.
Potential Impact
Successful exploitation allows remote unauthenticated attackers to execute arbitrary PHP code on the affected server. This can lead to full system compromise, including bypassing access controls and accessing sensitive information stored on the server.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the vulnerable parameter where possible and monitor for suspicious activity related to file inclusion attempts.
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: 6/19/2026, 6:20:09 AM
Last enriched: 6/19/2026, 6:35:04 AM
Last updated: 6/19/2026, 9:58:04 PM
Views: 55
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.