CVE-2026-7515: BetterDocs Pro <= 3.8.0 - Unauthenticated Local File Inclusion via doc_style

Published Jun 19, 2026
·
Updated

The BetterDocs Pro plugin for WordPress is vulnerable to Local File Inclusion in versions up to, and including, 3.8.0 via the docstyle 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 Software

1 affected component
BetterDocs BetterDocs Pro<=3.8.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Mitigate the Local File Inclusion via the doc_style parameter by preventing upload of .php files to the site: configure WordPress and any upload handlers to reject .php file types (block .php uploads to the uploads directory) so attackers cannot upload .php files that might be included.

Event History

Jun 19, 2026
CVE Published
via MITRE·05:33 AM
Data Sourced
via MITRE·05:33 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:17 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-7515?

The severity of CVE-2026-7515 is rated as critical with a score of 9.8.

2

How do I fix CVE-2026-7515?

To fix CVE-2026-7515, update the BetterDocs Pro plugin to version 3.8.1 or later.

3

What type of vulnerability is CVE-2026-7515?

CVE-2026-7515 is a Local File Inclusion (LFI) vulnerability that allows remote code execution.

4

Which versions of BetterDocs Pro are affected by CVE-2026-7515?

BetterDocs Pro versions up to and including 3.8.0 are affected by CVE-2026-7515.

5

Can unauthenticated users exploit CVE-2026-7515?

Yes, unauthenticated attackers can exploit CVE-2026-7515 to execute arbitrary PHP code.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203