Cyber Posture

CWE · MITRE source

CWE-98Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')

Abstraction: Variant · CVEs in our corpus: 1,114

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.

In certain versions and configurations of PHP, this can allow an attacker to specify a URL to a remote location from which the product will obtain the code to execute. In other cases in association with path traversal, the attacker can specify a local file that may contain executable statements that can be parsed by PHP.

Last updated: 09 May 2026 03:25 UTC

NIST 800-53 r5 controls that address this weakness (0)AI

Control Title Family Why it addresses this CWE
No NIST controls proposed yet.

Top CVEs of this weakness type, ranked by Risk Priority

CVE Risk CVSS EPSS Published
CVE-2024-122097.49.80.89852024-12-08
CVE-2023-34527.29.80.87832023-08-12
CVE-2024-105717.29.80.87292024-11-14
CVE-2023-490846.98.00.88342023-12-21
CVE-2025-68645 KEV6.88.80.50962025-12-22
CVE-2023-69895.99.80.65782024-02-05
CVE-2024-279715.78.30.67362024-05-17
CVE-2024-38065.59.80.59362024-05-14
CVE-2024-31365.29.80.54212024-04-09
CVE-2023-22494.68.80.48162023-06-09
CVE-2023-58154.68.10.49162023-11-22
CVE-2024-325234.58.10.47432024-05-17
CVE-2024-82524.48.80.44152024-08-30
CVE-2023-317183.87.50.37642023-09-22
CVE-2023-317163.77.50.37112023-09-22
CVE-2021-218043.69.80.27812021-07-16
CVE-2015-101333.67.20.36532025-07-19
CVE-2026-09263.29.80.20272026-02-19
CVE-2012-100253.00.00.50182025-08-05
CVE-2024-91932.99.80.16052025-02-28
CVE-2022-46062.79.80.12012022-12-18
CVE-2024-49362.79.80.11712024-06-14
CVE-2025-43802.68.10.16512025-07-02
CVE-2024-125712.59.80.09502024-12-20
CVE-2023-51992.39.90.04862023-10-30