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.
- CVSS:
- 8.1 (nvd)
- Vector:
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS:
- 95.8% (percentile 99.9)
- CWE:
- CWE-98
- Affects:
- WordPress Core
- KEV:
- added 2026-09-25, due 2026-09-28
- Published:
- Modified:
- First seen:
- NVD status:
- Analyzed