CVE-2026-7515 PUBLISHED

BetterDocs Pro <= 3.8.0 - Unauthenticated Local File Inclusion via doc_style

Assigner: Wordfence
Reserved: 30.04.2026 Published: 19.06.2026 Updated: 19.06.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 9.8

Product Status

Vendor betterdocs
Product BetterDocs Pro
Versions Default: unaffected
  • affected from 0 to 3.8.0 (incl.)

Credits

  • Nguyen Ngoc Duc finder

References

Problem Types

  • CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') CWE