CWE-98: Improper Control of Filename for Include/Require Statement in PHP Program

1348 CVEs have CWE-98 as their primary weakness. 2 of them are in the CISA KEV catalog. The highest EPSS score among them is 95.769%.

The PHP application receives input from an upstream component, but it does not restrict or incorrectly restricts the input before its usage in require, include, or similar functions.

Child of CWE-829: Inclusion of Functionality from Untrusted Control Sphere

Mitigations

Observed examples

Top released CVEs

KEV first, then the highest EPSS score, the highest CVSS score and the newest.

CVEPublishedSeverityCVSSEPSSDescription
CVE-2026-879022026-09-22HIGH8.195.769%An unauthenticated attacker can make `get_page_template()` page-template resolution include a chosen readable local `.php` file outside the active theme…
CVE-2025-686452025-12-22HIGH8.850.572%A Local File Inclusion (LFI) vulnerability exists in the Webmail Classic UI of Zimbra Collaboration (ZCS) 10.0 and 10.1 because of improper handling of…

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources