CVE-2026-87902
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:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
More exploitable than 97% of all CVEs · Top 3%
of the sites UNPWNED scans run WordPress, the technology this CVE affects. Version determines exposure, so scan yours to know for sure.Aggregate across 727 scanned sites. No site is identified.
Is your site exposed to this?
Run a free scan. UNPWNED fingerprints your stack and flags this CVE class if the affected technology is detected.
- Published
- 2026-09-22
- Last modified
- 2026-09-28
- Added to CISA KEV
- 2026-09-25
- Affected
- WordPress
Related exploited CVEs in WordPress
Data from the National Vulnerability Database (NVD), CISA KEV, and FIRST.org EPSS. This product uses the NVD API but is not endorsed or certified by the NVD. EPSS is a probability estimate, not a guarantee of exploitation.
