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 score8.1
SeverityHigh
VersionCVSS 3.1
VectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Provided byCISA-ADP

Weaknesses

  • CWE-98 — CWE-98 Remote File Inclusion

Affected products

VendorProductVersions
WordPressWordPress0 to <7.1.2

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 23 Sep 2026 07:02 UTC.