CVE-2026-7515: BetterDocs BetterDocs Pro Local File Inclusion via doc_style parameter

CVE-2026-7515 · Severity: critical · CVSS 9.8 · Published 2026-06-19

BetterDocs Pro, a WordPress plugin used to create and manage knowledge bases and documentation, contains a critical security flaw. An unauthenticated attacker can exploit this vulnerability to run malicious code on the website's server. This could lead to a complete takeover of the site, theft of sensitive customer data, or a total service outage.

Vendors: WPDeveloper.

Quick answers

Is CVE-2026-7515 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-7515 being exploited in the wild.
How severe is CVE-2026-7515?
Critical severity, with a CVSS score of 9.8, published 19 June 2026.
Which products and versions are affected?
WPDeveloper BetterDocs Pro <= 3.8.0.
Is there a fix for CVE-2026-7515?
A patch was published on 2026-06-18: Vendor released security enhancements in version 4.5.4 (approximate based on changelog) Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-7515 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-7515?
Check whether you run WPDeveloper BetterDocs Pro at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The BetterDocs Pro plugin for WordPress is vulnerable to Local File Inclusion (LFI) via the 'doc_style' parameter in versions up to and including 3.8.0. This vulnerability stems from improper validation of user-supplied input used in PHP include statements (CWE-98). An unauthenticated remote attacker can exploit this to include and execute arbitrary .php files already present on the server. In environments where an attacker can successfully upload a malicious PHP file (e.g., through other plugin features or vulnerabilities), this LFI can be escalated to full Remote Code Execution (RCE), leading to complete system compromise. Users should update to the latest version of the plugin to mitigate this risk.

Affected products

  • BetterDocs BetterDocs Pro <= 3.8.0

Timeline

  • 2026-06-18: patched: Vendor released security enhancements in version 4.5.4 (approximate based on changelog)
  • 2026-06-19: disclosed: Vulnerability published by Wordfence and NVD

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.