NetSight
high8.1Known exploitedPublic exploit code

CVE-2026-87902

WordPress Core Remote File Inclusion Vulnerability

Exploited in the wild

This vulnerability is on the CISA Known Exploited Vulnerabilities list, added 2026-09-25. Federal due date: 2026-09-28.

Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.

Public exploit code

Working exploit or proof of concept code has been published for this vulnerability. Treat unpatched systems as at risk.

Impact

WordPress Core contains a remote file inclusion vulnerability which could allow an unauthenticated attacker to make page-template resolution include a chosen readable local `.php` file outside the active theme directories, leading to remote code execution.

Affected products

VendorProductAffected versions
WordpressWordpress
before 4.7.37
from 4.8 before 4.8.32
from 4.9 before 4.9.33
from 5.0 before 5.0.29
from 5.1 before 5.1.26
from 5.2 before 5.2.28

Weakness classification

References