Security Resilience

CVE-2026-87902

Wordpress ≤ 4.7.37

CISA KEVActive ExploitationEUVD Exploited
Published
22 September 2026
Modified
28 September 2026
KEV Added
25 September 2026
Patch / advisory
CVSS Score v3.1 8.1
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.27 98th percentile
Risk Priority 86 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-87902 is a high-severity Improper Control of Filename for Include/Require Statement in PHP Program (CWE-98) vulnerability in Wordpress. Its CVSS base score is 8.1 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 2% of CVEs by exploit likelihood; CISA has added it to the Known Exploited Vulnerabilities catalog.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and AC-4 (Information Flow Enforcement) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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.

CWE(s)
KEV Date Added
25 September 2026

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
T1056.003 Web Portal Capture Collection
Adversaries may install code on externally facing portals, such as a VPN login page, to capture and transmit credentials of users who attempt to log into the service.
T1505.003 Web Shell Persistence
Adversaries may backdoor web servers with web shells to establish persistent access to systems.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-60137Same product: Wordpress Wordpressboth on KEV
CVE-2026-119977Same product: Wordpress Wordpressboth on KEV
CVE-2026-63030Same product: Wordpress Wordpressboth on KEV
CVE-2024-31210Same product: Wordpress Wordpress
CVE-2023-2745Same product: Wordpress Wordpress
CVE-2024-4439Same product: Wordpress Wordpress
CVE-2024-31211Same product: Wordpress Wordpress
CVE-2023-5561Same product: Wordpress Wordpress
CVE-2023-22622Same product: Wordpress Wordpress
CVE-2023-38000Same product: Wordpress Wordpress

Affected Assets

wordpress
wordpress
≤ 4.7.37 · 4.8 — 4.8.32 · 4.9 — 4.9.33

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Enforcing access authorizations on resources limits what an included file can reach even if a bad name is supplied.

Information-flow rules can block the loading of external or unauthorized files into the PHP process.

Developer testing and static analysis can discover missing filename restrictions before deployment.

Validating all inputs before they reach include/require statements directly stops untrusted filenames from being used.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices such as input validation and allow-listing of include paths directly prevent the weakness.

PR.PS-01 partial match
blocks

Hardened runtime configuration (e.g., allow_url_include=off) directly blocks RFI even if code is flawed.

PR.PS-05 partial match
blocks

Execution restrictions can prevent the remote payload from running, while eliminating the weakness reduces the need for such controls.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect RFI but does not prevent the weakness by itself.

blocks

Network segregation can block the remote file inclusion vector by preventing the web server from making outbound connections to attacker-controlled hosts, but it does not block local file inclusion (which uses files already on the server) and leaves the underlying code defect intact.

prevents

Secure coding standards directly require whitelisting and sanitization of filenames used in include/require statements.

prevents

A.8.30 carries its effect through the secure-development practices (8.25–8.29) its contract requires of the supplier, so a faithfully implemented clause reduces ordinary software implementation defects like improper input handling in PHP include/require statements, but the effect is mediated by the supplier's practice and is bounded by the same ceiling the owner set on A.8.30 vs CWE-134.

blocks

A.8.7 can block known malicious remote sources and detected malware content from being included, but it does not address the underlying filename-control flaw and leaves local file inclusion or unknown remote payloads exploitable.

finds

A.8.8's reach is disclosure-based (published advisories, component inventory) plus penetration testing; CWE-98 is a first-party PHP code defect whose systematic discovery belongs to source-reading testing (A.8.29), so A.8.8 finds it only where it surfaces as a disclosed CVE in a third-party component or is caught by a pen test — a minority of latent instances, parallel to A.8.8 finds CWE-89 = partial.

References