BetterDocs Pro
BetterDocs Pro <= 3.8.0 - Unauthenticated Local File Inclusion via doc_style
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- <= 3.8.0
Mitigation
The record names no fix. Check the vendor advisory below.
References
- Release notes betterdocs.co/changelog
Timeline
Days relative to CVE publicationFirst public PoC 11 h before publication; not in CISA KEV. First PoC: Polosss/By-Poloss..-..CVE-2026-7515-PoC (created 18 Jun 2026, found by us: backfilled).
PoC repositories
Found on GitHub.2 PoCs
PoCs 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Polosss/By-Poloss..-..CVE-2026-7515-PoC | 18 Jun 2026 −11 h | 1 | PoC via PoC Index |
| izxci/CVE_2026_7515 | 19 Jun 2026 +3 h | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 2 PoC reposPOST /wp-admin/admin-ajax.php
- Body markers
action=load_more_docs_section_nonce=VALID_ENCRYPTION_NONCEdoc_style=../../../../../../wp-configpage=1action=load_more_docsdoc_style=../../../../../../etc/passwdpage=0_nonce=testinapplication/x-www-form-urlencoded- Ports
- 8080
- Seen in
- 2 repos: Polosss/By-Poloss..-..CVE-2026-7515-PoC, izxci/CVE_2026_7515
- Evidence
- Polosss/By-Poloss..-..CVE-2026-7515-PoC/README.md:120 Polosss/By-Poloss..-..CVE-2026-7515-PoC/README.md:127 izxci/CVE_2026_7515/cve_2026_7515_betterdocs_lfi.py:190 izxci/CVE_2026_7515/cve_2026_7515_betterdocs_lfi.py:229
GET /wp-json/
- Ports
- 8080
- Seen in
- 1 repo: izxci/CVE_2026_7515
- Evidence
- izxci/CVE_2026_7515/cve_2026_7515_betterdocs_lfi.py:139
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/wp-admin/admin-ajax\.php(?:[?#].*)?$
(?i)^/wp-json/(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2026-7515 betterdocs BetterDocs Pro exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/wp-admin/admin-ajax.php"; http.request_body; content:"action=load_more_docs_section"; http.request_body; content:"_nonce=VALID_ENCRYPTION_NONCE"; http.request_body; content:"doc_style=../../../../../../wp-config"; http.request_body; content:"page=1"; http.request_body; content:"action=load_more_docs"; http.request_body; content:"doc_style=../../../../../../etc/passwd"; http.request_body; content:"page=0"; http.request_body; content:"_nonce=test"; reference:url,poc.griffinguard.io/cve/CVE-2026-7515; classtype:web-application-attack; sid:9152176; rev:1;)
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2026-7515 betterdocs BetterDocs Pro exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wp-json/"; reference:url,poc.griffinguard.io/cve/CVE-2026-7515; classtype:web-application-attack; sid:9018809; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: betterdocs BetterDocs Pro exploit attempt (CVE-2026-7515)
id: gg-pocmon-cve-2026-7515-9152176
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-7515. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-7515
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/wp-admin/admin-ajax.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.7515
title: betterdocs BetterDocs Pro exploit attempt (CVE-2026-7515)
id: gg-pocmon-cve-2026-7515-9018809
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-7515. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-7515
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/wp-json/'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.7515