Description
An unauthenticated attacker can make `get_page_template()` page-template resolution include a chosen readable local `.php` file outside the active theme directories. If relevant pre-conditions for both the server and the active theme are met, this can lead to RCE.
Severity (CVSS)
| Base score | 8.1 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Provided by | CISA-ADP |
Weaknesses
- CWE-98 — CWE-98 Remote File Inclusion
Affected products
| Vendor | Product | Versions |
|---|---|---|
| WordPress | WordPress | 0 to <7.1.2 |
References
Generated from the official CVE List on 23 Sep 2026 07:02 UTC.