PoC Monitor
← All CVEs
CVE-2026-7515published 19 Jun 2026 05:33 UTCData: JSON · API

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.

First public PoC 11 h beforebefore publication · 18 Jun 2026
Public PoCs22 on GitHub
CVSS9.8critical · scored by CNA · CWE-98
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

betterdocs BetterDocs Pro
  • <= 3.8.0

Mitigation

The record names no fix. Check the vendor advisory below.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8First public PoC18 Jun 2026 · t−11hCVE published19 Jun 2026 · t = 0

First 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
RepositoryCreatedStarsAssessment
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 repos

POST /wp-admin/admin-ajax.php

Body markers
action=load_more_docs_section _nonce=VALID_ENCRYPTION_NONCE doc_style=../../../../../../wp-config page=1 action=load_more_docs doc_style=../../../../../../etc/passwd page=0 _nonce=test in application/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.

POST /wp-admin/admin-ajax.php
(?i)^/wp-admin/admin-ajax\.php(?:[?#].*)?$
GET /wp-json/
(?i)^/wp-json/(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /wp-admin/admin-ajax.php
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;)
GET /wp-json/
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.

POST /wp-admin/admin-ajax.php
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
GET /wp-json/
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